We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f236b1 + dfa6006 commit d44e013Copy full SHA for d44e013
index.js
@@ -257,6 +257,11 @@ class Beelzebub {
257
message: 'Password length must be odd',
258
infuriationLevel: InfuriationLevel.Moderate,
259
},
260
+ {
261
+ passwordIsInvalid: password => password.match(/[ÁÉÍÓÚáéíóú]/) === null,
262
+ message: 'Password must contain at least 1 character with an acute accent',
263
+ infuriationLevel: InfuriationLevel.Ridiculous,
264
+ },
265
// {
266
// passwordIsInvalid: password => password.length > 20,
267
// 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