Added support for extra backends
Somebody had forgotten "OC_User::setupBackends();"...
This commit is contained in:
parent
b58a464b86
commit
81db59cda0
|
@ -36,6 +36,8 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
|
|||
return true;
|
||||
} else {
|
||||
OC_Util::setUpFS();//login hooks may need early access to the filesystem
|
||||
//setup extra user backends
|
||||
OC_User::setupBackends();//if you do not want to use Owncloud's integrated login
|
||||
if(OC_User::login($username, $password)) {
|
||||
OC_Util::setUpFS(OC_User::getUser());
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue