Codemaid
This commit is contained in:
@@ -4,7 +4,7 @@ namespace Wallet;
|
||||
|
||||
public partial class SpecialCharRule : IPasswordRule
|
||||
{
|
||||
public int CalculateScore(string password) =>
|
||||
public int CalculateScore(string password) =>
|
||||
Regex().IsMatch(password) ? 2 : 0;
|
||||
|
||||
[GeneratedRegex(@"[^a-zA-Z0-9]")]
|
||||
|
||||
Reference in New Issue
Block a user