feat: add password requirements (#988)
* feat: add password requirements * fix: format issue * fix: unexpected empty string in component jsx * test: adjust unit test passwords
This commit is contained in:
@@ -30,6 +30,13 @@ export default {
|
||||
},
|
||||
password: {
|
||||
label: "Password",
|
||||
requirement: {
|
||||
length: "Includes at least 8 characters",
|
||||
lowercase: "Includes lowercase letter",
|
||||
uppercase: "Includes uppercase letter",
|
||||
number: "Includes number",
|
||||
special: "Includes special symbol",
|
||||
},
|
||||
},
|
||||
passwordConfirm: {
|
||||
label: "Confirm password",
|
||||
@@ -631,6 +638,7 @@ export default {
|
||||
},
|
||||
custom: {
|
||||
passwordsDoNotMatch: "Passwords do not match",
|
||||
passwordRequirements: "Password does not meet the requirements",
|
||||
boardAlreadyExists: "A board with this name already exists",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user