You are here

function persistent_login_user_password_access in Persistent Login 6

Disable 'Request New Password' page if a user is logged in via PL and trying to access a PL restricted page.

1 string reference to 'persistent_login_user_password_access'
persistent_login_menu_alter in ./persistent_login.module
Implementation of hook_menu_alter().

File

./persistent_login.module, line 568
Provide a "Remember Me" checkbox in the login form.

Code

function persistent_login_user_password_access() {
  return user_is_anonymous() && empty($_SESSION['persistent_login_reauth']);
}