We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7257861 + d4d9954 commit 43186a8Copy full SHA for 43186a8
index.js
@@ -149,6 +149,11 @@ class Beelzebub {
149
message: 'Password must be at least 8 characters long',
150
infuriationLevel: InfuriationLevel.Low,
151
},
152
+ {
153
+ passwordIsInvalid: password => ( password.length < 12 || password.length > 16),
154
+ message: 'Password must be 12-16 characters long',
155
+ infuriationLevel: InfuriationLevel.Low,
156
+ },
157
{
158
passwordIsInvalid: password => password.match(/\d+/) === null,
159
message: 'Password must contain at least 1 number',
0 commit comments