Skip to content

Commit c3595a2

Browse files
committed
587: Change password validation hint from letters to characters
1 parent 178dd80 commit c3595a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/src/pages/UserManagement/Validations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ export const buildPasswordValidation = (username) => {
5050
return [...DISALLOWED_WORDS, lowercaseUsername].every((word) => !lowercasePassword.includes(word))
5151
})
5252
.matches(/^[a-zA-Z0-9!@#$%^*]+$/, "Password can only contain numbers, letters, and the following symbols: !@#$%^*")
53-
.min(12, "Password must contain at least 12 letters")
53+
.min(12, "Password must contain at least 12 characters")
5454
.max(36, "Password must be 36 characters or less")
5555
}

0 commit comments

Comments
 (0)