If the submodule "password_policy_password_tab" is enabled, a user with expired password cannot anymore change the password.

Reason:
* submodule "password_policy_password_tab" move the Password change page to url: user/%uid/edit/password
* but main module puts the user allways only to user/%uid/edit , so preventing the ability to change it

What's about "exclude_pages_from" under reset-tab,
* NO its not working with "logout\nuser/%uid/edit/password". I dont know why the drupal_match_path function is not matching

What's about setting password_policy_change_url?
* NO firstly its not settable by any admin-page entry
* NO setting it manually to "user/%uid/edit/password" does not help. Because on redirect You will be redirected to "user/%38uid/edit/password" which will show an 404 page

Workaround, You could blow the url through strtr

$change_password_url = strtr($change_password_url, array('%uid' => $account->uid));

Comments

neffets’s picture

Patch attached

erikwebb’s picture

I wonder if your variable was unset somehow. Can you check on the value of 'password_policy_change_url'?

erikwebb’s picture

Status: Active » Needs work
erikwebb’s picture

Status: Needs work » Postponed (maintainer needs more info)
erikwebb’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)