Open veeara282 opened 4 years ago
We should also consider adding some default and personalized strings to the user_inputs
argument.
The optional
user_inputs
argument is an array of strings that zxcvbn will treat as an extra dictionary. This can be whatever list of strings you like, but is meant for user inputs from other fields of the form, like name and email. That way a password that includes a user's personal information can be heavily penalized. This list is also good for site-specific vocabulary — Acme Brick Co. might want to include ['acme', 'brick', 'acmebrick', etc].
Closes #247
Add a password strength meter to the "New password" fields in
ChangePasswordModal
andResetPasswordModal
using aPasswordStrengthModalInput
, which composesModalInput
. This component will always display validation text, even when the password is valid.Password strength indicator colors:
#f05452
(tangerine)#43c4d9
(aqua)#388ec5
#2c58b1
(bluejay)TODO:
{Reset,Change}PasswordModal
to read the validation result (true/false) of thePasswordStrengthModalInput