LDAP: pass user backend as instance, not classname
This commit is contained in:
parent
e499bc37c8
commit
0bdebe0e4a
|
@ -28,7 +28,7 @@ require_once('apps/user_ldap/group_ldap.php');
|
|||
OCP\App::registerAdmin('user_ldap','settings');
|
||||
|
||||
// register user backend
|
||||
OC_User::useBackend( 'LDAP' );
|
||||
OC_User::useBackend( new OC_USER_LDAP() );
|
||||
OC_Group::useBackend( new OC_GROUP_LDAP() );
|
||||
|
||||
// add settings page to navigation
|
||||
|
|
Loading…
Reference in New Issue