Merge pull request #5001 from owncloud/fixing-user-external-backends-master

prelogin apps have to be loaded within setupBackend() otherwise required...
This commit is contained in:
Morris Jobke 2013-09-27 02:34:59 -07:00
commit f47ff13abf
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ class OC_User {
* setup the configured backends in config.php
*/
public static function setupBackends() {
OC_App::loadApps(array('prelogin'));
$backends = OC_Config::getValue('user_backends', array());
foreach ($backends as $i => $config) {
$class = $config['class'];