Skip to content

Commit f819931

Browse files
authored
Fix Umlaut check
The german *scharfes s* charakter `ß` ist a lower-case-only character.
1 parent 30b3f8d commit f819931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Beelzebub {
9595
infuriationLevel: InfuriationLevel.Moderate,
9696
},
9797
{
98-
passwordIsInvalid: password => password.match(/[ÄÜÖ]/) === null,
98+
passwordIsInvalid: password => password.match(/[ÄÜÖ]/) === null,
9999
message: 'Password must contain at least one upper case German Umlaut',
100100
infuriationLevel: InfuriationLevel.Ridiculous,
101101
},

0 commit comments

Comments
 (0)