function persistent_login_user_cancel in Persistent Login 7
Implements hook_user_cancel().
File
- ./
persistent_login.module, line 312 - Provide a "Remember Me" checkbox in the login form.
Code
function persistent_login_user_cancel($edit, $account, $method) {
_persistent_login_invalidate('user_cancel', 'uid = :uid', array(
':uid' => $account->uid,
));
unset($_SESSION['persistent_login_check']);
unset($_SESSION['persistent_login_login']);
}