Skip to content

Commit e083bb0

Browse files
committed
* Minor password advisor change
1 parent c87f912 commit e083bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Advanced PassGen/Classes/Password.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private static int CheckStrength(string password)
5454
if (password.Length >= 10) score++;
5555
if (Regex.Match(password, @"\d", RegexOptions.ECMAScript).Success) score++;
5656
if (Regex.Match(password, @"[a-z]", RegexOptions.ECMAScript).Success && Regex.Match(password, @"[A-Z]", RegexOptions.ECMAScript).Success) score++;
57-
if (Regex.Match(password, @"[:,µ,;,<,>,+,!,@,#,$,%,^,&,*,?,_,~,-,£,(,);\[,\],⟨,⟩]", RegexOptions.ECMAScript).Success) score++;
57+
if (Regex.Match(password, @"[:,µ,;, ,<,>,+,!,@,#,$,%,^,&,*,?,_,~,-,£,(,);\[,\],⟨,⟩]", RegexOptions.ECMAScript).Success) score++;
5858

5959
return score;
6060
}

0 commit comments

Comments
 (0)