function ldapauth_exit in LDAP integration 6
Same name and namespace in other branches
- 5.2 ldapauth.module \ldapauth_exit()
- 5 ldapauth.module \ldapauth_exit()
Implements hook_exit().
File
- ./
ldapauth.module, line 362 - ldapauth provides authentication against ldap server.
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 (LDAPAUTH_FORGET_PASSWORDS && isset($_SESSION['ldap_login'])) {
unset($_SESSION['ldap_login']);
}
}