Converted edit page to modal and added edit and create permissions
This commit is contained in:
@@ -6,6 +6,6 @@ public class RegisterData : UserRegister {
|
||||
public string RepeatedPassword { get; set; }
|
||||
|
||||
public bool PasswordsMatch => Password == RepeatedPassword;
|
||||
public bool PasswordIsValid => Password.Length >= 8;
|
||||
public bool EmailIsValid => Email.Contains('@') && Email.Contains('.') && !Email.EndsWith('.');
|
||||
public bool PasswordIsValid => Password?.Length >= 8;
|
||||
public bool EmailIsValid => Email?.Contains('@') == true && Email?.Contains('.') == true && Email?.EndsWith('.') == false;
|
||||
}
|
||||
Reference in New Issue
Block a user