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));
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | password_policy-change-password-url-1841314-1.patch | 588 bytes | neffets |
Comments
Comment #1
neffets commentedPatch attached
Comment #2
erikwebb commentedI wonder if your variable was unset somehow. Can you check on the value of 'password_policy_change_url'?
Comment #3
erikwebb commentedComment #4
erikwebb commentedComment #5
erikwebb commented