-
Notifications
You must be signed in to change notification settings - Fork 298
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
feat(clerk-js,localizations): Nav to reset-password
if needs_new_password
#2984
feat(clerk-js,localizations): Nav to reset-password
if needs_new_password
#2984
Conversation
🦋 Changeset detectedLatest commit: d45314e The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
dba312a
to
a4b140d
Compare
…if sign_in.needs_new_password If password_settings.enforce_on_sign_in is true, then it will be possible for a password sign-in to succeed but require a new password that conforms to updated password requirements. Hence, if sign_in.needs_new_password is true, the password form will navigate to reset-password. Since we are reusing a flow initially created for resetting passwords after an oauth flow, the error message has been made more generic.
!preview |
Hey @octoper, your preview is available.
|
a4b140d
to
de1336c
Compare
reset-password
from pass-form …reset-password
if needs_new_password
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just update the changeset file as @LekoArts suggested
Co-authored-by: Lennart <[email protected]>
Description
If password_settings.enforce_on_sign_in is true, then it will be possible for a password sign-in to succeed but require a new password that conforms to updated password requirements.
Hence, if sign_in.needs_new_password is true, the password form will navigate to reset-password.
Since we are reusing a flow initially created for resetting passwords after an oauth flow, the error message has been made more generic.
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change