Skip to content
Snippets Groups Projects
Commit 0bdebe0e authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

LDAP: pass user backend as instance, not classname

parent e499bc37
Loading
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment