Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password reset prompt for expired password fails #127

Open
dsajdak opened this issue Sep 15, 2023 · 1 comment
Open

Password reset prompt for expired password fails #127

dsajdak opened this issue Sep 15, 2023 · 1 comment

Comments

@dsajdak
Copy link

dsajdak commented Sep 15, 2023

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
Copy link
Author

dsajdak commented Jan 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant