You are here

function _password_policy_get_preferred_password_change_path in Password Policy 7

Gets preferred path for password change page.

The password change page path depends on whether Password Policy Password Tab is enabled. When there are multiple paths, the first is assumed to be preferred.

1 call to _password_policy_get_preferred_password_change_path()
_password_policy_go_to_password_change_page in ./password_policy.module
Redirects user to password change page.

File

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

Code

function _password_policy_get_preferred_password_change_path() {
  $password_change_paths = _password_policy_get_password_change_paths();
  return $password_change_paths[0];
}