You are here

function _password_policy_get_password_change_paths in Password Policy 7

Same name and namespace in other branches
  1. 6 password_policy.module \_password_policy_get_password_change_paths()

Gets paths that allow user to change their password.

2 calls to _password_policy_get_password_change_paths()
_password_policy_get_nonconfigurable_allowed_paths in ./password_policy.module
Gets non-configurable paths allowed when password change forced.
_password_policy_get_preferred_password_change_path in ./password_policy.module
Gets preferred path for password change page.

File

./password_policy.module, line 1014
Allows enforcing restrictions on user passwords by defining policies.

Code

function _password_policy_get_password_change_paths() {
  global $user;
  return _password_policy_get_password_edit_paths_for_user($user);
}