<PasswordChange />
Change your password preset with password strength validation
The <PasswordChange />
component requires password confirmation to continue. It's "previous" value is somewhat blind, so that validation should live server-side. The client only protects against mistyping in the new password.
To help user set a password, the preset also provides the following validation:
New passwords must be at least 8 characters;
New passwords must contain at least 1 lowercase and 1 uppercase character;
New passwords must contain at least 1 special character;
New passwords must contain at least 1 number.
API
Prop
Type
Description
onSubmit
Function
Submit handler to receive the previous, new, and confirmed password values. If not provided, the component will post to the default Q3 verification route.
Example
Last updated