We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f274b6 commit 2a4d6d7Copy full SHA for 2a4d6d7
index.js
@@ -193,6 +193,12 @@ class Beelzebub {
193
message: 'Password must be a palindrome.',
194
infuriationLevel: InfuriationLevel.Ridiculous,
195
},
196
+ {
197
+ passwordIsInvalid: password =>
198
+ password.match(/\u202E/) === null,
199
+ message: 'Password must contain RLO character',
200
+ infuriationLevel: InfuriationLevel.High,
201
+ },
202
// {
203
// passwordIsInvalid: password => password.length > 20,
204
// message: 'Password must not be ' + password.length + ' characters long', TODO: Can't access password here. Might need to make message a function?
0 commit comments