mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
LDAP: pass user backend as instance, not classname
This commit is contained in:
parent
e499bc37c8
commit
0bdebe0e4a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue