When a user's password is expired, they're prompted to change it.
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.
When a user's password is expired, they're prompted to change it.
![pw-expire1](https://github.com/ubccr/mokey/assets/9355962/f793e2ed-1f18-4e35-9fd1-b1c45c039978)
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.