Added support for extra backends

Somebody had forgotten "OC_User::setupBackends();"...
This commit is contained in:
elchi 2013-09-30 20:26:00 +02:00
parent b58a464b86
commit 81db59cda0
1 changed files with 2 additions and 0 deletions

View File

@ -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;