You are here

function _password_policy_get_excluded_page_paths in Password Policy 6

Gets paths of pages excluded from redirection to change password.

1 call to _password_policy_get_excluded_page_paths()
_password_policy_is_path_allowed_when_password_change_forced in ./password_policy.module
Determines whether access to path allowed when user password change forced.

File

./password_policy.module, line 81
The password policy module allows you to enforce a specific level of password complexity for the user passwords on the system.

Code

function _password_policy_get_excluded_page_paths() {
  $excluded_paths = variable_get('password_policy_exclude_pages', 'logout');
  $excluded_paths = explode("\n", $excluded_paths);
  return array_map('trim', $excluded_paths);
}