You are here

public function PasswordPolicyExpire::getPasswordChangePath in Password Policy 7.2

Gets password change path.

Parameters

object $account: User object.

Return value

string Password change path for the user.

2 calls to PasswordPolicyExpire::getPasswordChangePath()
PasswordPolicyExpire::goToPasswordChangePath in plugins/item/expire.inc
Redirects user to password change path.
PasswordPolicyExpire::init in plugins/item/expire.inc
Checks on init if the user password has expired.

File

plugins/item/expire.inc, line 259

Class

PasswordPolicyExpire
Policy item that handles password expirations.

Code

public function getPasswordChangePath($account) {
  return "user/{$account->uid}/edit";
}