Improve password rejection message for matching identifiers
Fixed password rejection error message that previously showed as incomplete text "Your password must contain." on sign-up and password forms. The new message is available via the unstable__errors.form_password_matches_identifier localization key, and unrecognized password errors now fall back to the API message instead of showing blank text.
Patch Changes
-
Display a proper message when a password is rejected for matching one of the account's identifiers. Previously this error rendered as the incomplete sentence "Your password must contain ." on sign-up, reset password, and the user profile password form. The new message is available under the
unstable__errors.form_password_matches_identifierlocalization key, and any password error the UI does not recognize now falls back to the message returned by the API instead of an empty sentence. (#9453) by @dmoerner -
Updated dependencies [
b815047]:- @clerk/shared@4.29.2
Source: original entry ↗