function ldap_help_get_ldapauth in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_help/ldap_help.status.inc \ldap_help_get_ldapauth()
- 7 ldap_help/ldap_help.status.inc \ldap_help_get_ldapauth()
File
- ldap_help/
ldap_help.status.inc, line 149 - Status file for ldaphelp module.
Code
function ldap_help_get_ldapauth(&$info) {
$status[] = [
'title' => 'Authentication mode',
value => $info['ldapauth']['login_process_text'],
'severity' => "0",
];
$status[] = [
'title' => 'Conflict Resolve Feature',
value => $info['ldapauth']['login_conflict_text'],
'severity' => "0",
];
$info['ldapauth']['ldapauth_disable_pass_change_text'] = LDAPAUTH_FORGET_PASSWORDS == TRUE ? "Do not " : "Do";
$info['ldapauth']['ldapauth_disable_pass_change_text'] .= 'store users\' passwords during sessions.';
$status[] = [
'title' => 'Security Options',
value => $info['ldapauth']['ldapauth_disable_pass_change_text'],
'severity' => "0",
];
$info['ldapauth']['ldapauth_disable_pass_change_text'] = LDAPAUTH_DISABLE_PASS_CHANGE == TRUE ? "R" : "Do not R";
$info['ldapauth']['ldapauth_disable_pass_change_text'] .= 'emove password change fields from user edit form';
$info['ldapauth']['ldapauth_alter_email_field_text'] = 'ldapauth_alter_email_field: ' . LDAPAUTH_ALTER_EMAIL_FIELD;
$status[] = [
'title' => 'LDAP UI Options',
value => $info['ldapauth']['ldapauth_disable_pass_change_text'] . "<br/>" . $info['ldapauth']['ldapauth_alter_email_field_text'],
'severity' => "0",
];
return $status;
}