mirror of
https://github.com/nextcloud/server.git
synced 2026-02-11 14:54:02 -05:00
LDAP: don't make us of global constants (completing, was removed with latest additions to update.php)
This commit is contained in:
parent
253f101b39
commit
ea33b4aaa1
1 changed files with 2 additions and 2 deletions
|
|
@ -52,8 +52,8 @@ foreach($params as $param){
|
|||
}
|
||||
|
||||
// settings with default values
|
||||
$tmpl->assign( 'ldap_port', OCP\Config::getAppValue('user_ldap', 'ldap_port', OC_USER_BACKEND_LDAP_DEFAULT_PORT));
|
||||
$tmpl->assign( 'ldap_display_name', OCP\Config::getAppValue('user_ldap', 'ldap_display_name', OC_USER_BACKEND_LDAP_DEFAULT_DISPLAY_NAME));
|
||||
$tmpl->assign( 'ldap_port', OCP\Config::getAppValue('user_ldap', 'ldap_port', '389'));
|
||||
$tmpl->assign( 'ldap_display_name', OCP\Config::getAppValue('user_ldap', 'ldap_display_name', 'uid'));
|
||||
$tmpl->assign( 'ldap_group_member_assoc_attribute', OCP\Config::getAppValue('user_ldap', 'ldap_group_member_assoc_attribute', 'uniqueMember'));
|
||||
$tmpl->assign( 'ldap_agent_password', base64_decode(OCP\Config::getAppValue('user_ldap', 'ldap_agent_password')));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue