Added user add modal and converted to dark mode
This commit is contained in:
@@ -4,4 +4,8 @@ namespace HopFrame.Web.Model;
|
||||
|
||||
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('.');
|
||||
}
|
||||
Reference in New Issue
Block a user