prelogin apps have to be loaded within setupBackend() otherwise required classes cannot be loaded

This commit is contained in:
Thomas Müller 2013-09-26 13:34:47 +02:00
parent 6b1d70f148
commit e515509a81

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'];