mokey icon indicating copy to clipboard operation
mokey copied to clipboard

Password reset prompt for expired password fails

Open dsajdak opened this issue 2 years ago • 1 comments

When a user's password is expired, they're prompted to change it.
pw-expire1

However, when attempting to do so they receive an error: "something bad happened. Please contact site admin"

The logs show either: "Failed to change expired password for user" err="password does not conform to policy" but it does.

or: "Failed to change expired password for user" err="invalid current password" However the user was just authenticated using these credentials which initiated the password change process.

dsajdak avatar Sep 15 '23 14:09 dsajdak

Also, on further review the password is actually changed. If the user attempts to login with the new password, the authentication succeeds.

dsajdak avatar Jan 24 '24 13:01 dsajdak