Skip to content

Commit bc1aec4

Browse files
committed
496: Add philly to disallowed words list
1 parent de34ddd commit bc1aec4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export const DISALLOWED_WORDS = [
44
'cat',
55
'dog',
66
'password',
7+
'philly',
78
'paws',
89
]
910

@@ -38,7 +39,7 @@ export const buildPasswordValidation = (username) => {
3839
.required("Password is required")
3940
.test(
4041
"no-disallowed-words",
41-
"Password cannot include 'dog', 'cat', 'password', 'paws', or your username",
42+
"Password cannot include 'dog', 'cat', 'password', 'philly', 'paws', or your username",
4243
(value, context) => {
4344
if (!value) {
4445
return true;

0 commit comments

Comments
 (0)