On the user admin form under the "password stats" heading, a user is always reported as not pending a password change even if they are flagged as needing 1.

"User has a pending forced password change: No".

Steps to replicate:
- Login as admin.
- Edit a user.
- Change their password.
- Check the Force this user to change their password.
- Save user.

You will see that under the "password stats" heading the following is shown: "User has a pending forced password change: No"
It should say: "User has a pending forced password change: Yes"

Comments

HiMyNameIsSeb created an issue. See original summary.

himynameisseb’s picture

Apologies for the patch name if it is wrong, my suggestions does not work.

From what I can see it is that the config data is loaded incorrectly. The attached patch loads the correct config item in my case. :)

vj’s picture

Status: Active » Needs review

I have applied & tested above patch and it works. Marking to needs review.

rymo’s picture

Version: 8.x-1.3 » 8.x-1.x-dev
Status: Needs review » Reviewed & tested by the community

Applies cleanly to 8.x-1.x-dev and works for me. RTBC

stefdewa’s picture

+1 for RTBC

larisse’s picture

Version: 8.x-1.x-dev » 2.0.x-dev

This still a problem in 2.0.x version?

larisse’s picture

StatusFileSize
new17.12 KB
new17.08 KB

I confirm that this happen in 2.0.x version.

  • larisse committed 57af1bc on 2.0.x authored by HiMyNameIsSeb
    Issue #2991424 by HiMyNameIsSeb, larisse, Vj, rymo, Stefdewa: User admin...
larisse’s picture

Status: Reviewed & tested by the community » Fixed

Thank you all. =)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.