function ldapauth_exit in LDAP integration 5.2
Same name and namespace in other branches
- 5 ldapauth.module \ldapauth_exit()
- 6 ldapauth.module \ldapauth_exit()
File
- ./
ldapauth.module, line 558
Code
function ldapauth_exit() {
// We delete the login info here, instead of just not storing it at
// ldapauth_auth(), so at least ldapgroups can use it at login time
if (variable_get('ldap_forget_passwords', false) && isset($_SESSION['ldap_login'])) {
unset($_SESSION['ldap_login']);
}
}