Once the "Force Password Change" checkbox has been checked for a user, by an administrator, it cannot be unchecked.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | fix_unsetting_force_password_change-2157559-5.patch | 713 bytes | aohrvetpv |
| #4 | fix_unsetting_force_password_change-2157559-4.patch | 745 bytes | aohrvetpv |
Comments
Comment #1
pcher1bw commentedIs there a work around for this, I have the problem as well.
Comment #2
aohrvetpv commentedNot being able to undo a forced password change might be by design and not a bug. Once the user changes their password, the checkbox becomes unset.
Even if by design:
- It would seem to be a bug that the checkbox is not disabled and can be unchecked without effect.
- It probably ought to be possible to undo a forced password change.
Also occurs in 7.x-1.x-dev, so increasing version.
Comment #3
aohrvetpv commentedChange
force_changeto 0 in database tablepassword_policy_force_changefor the uid(s).Comment #4
aohrvetpv commentedLooks like it is indeed a bug. The case that "Force password change" is changed from checked to unchecked via the user-edit page seems to be unhandled in
hook_user_update().Comment #5
aohrvetpv commentedHere is a backported patch for D6. Please try it out if you can. Seems to work.
Comment #6
aohrvetpv commentedComment #7
deekayen commentedComment #8
aohrvetpv commentedCommits for 7.x-1.x and 6.x-1.x, respectively:
http://drupalcode.org/project/password_policy.git/commit/e2a9279
http://drupalcode.org/project/password_policy.git/commit/bcfba4f
I am guessing they didn't generate an automated message here because the commit message format was not precisely as expected. (It used a pipe character instead of a comma.)
Comment #9
aohrvetpv commented'Force password change at next login' feature not currently in 7.x-2.x, so this bug should be fixed.
Comment #10
aohrvetpv commentedComment #11
deekayen commentedRe: #8: I just copy/paste whatever Dreditor provides for me. https://dreditor.org/
Comment #12
aohrvetpv commentedAh, so maybe Dreditor needs to change to use Drupal.org's expected format, or Drupal.org should add support for Dreditor's.
It is not really a problem, just is nice to have the commit automatically linked so you can quickly review the committed fix. Thanks for the commits.