|
@@ -24,7 +24,7 @@ namespace Users_Roles.ViewModels
|
|
|
string _newPassword;
|
|
|
public string NewPassword { get => _newPassword; set => _newPassword = value; }
|
|
|
|
|
|
- Regex reg = new Regex("({2,}=.* [0 - 9])({3,}=.* [a - z])({2,}=.* [A - Z])");
|
|
|
+ Regex reg = new Regex(@"\w{8,}");
|
|
|
|
|
|
public void TruePassword()
|
|
|
{
|