mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Update RegistrationUser.cs
Dropping min password length
This commit is contained in:
parent
c1d7bd808c
commit
bdf51f760c
@ -14,12 +14,12 @@ namespace BuildFeed.Models.ViewModel
|
||||
public string UserName { get; set; }
|
||||
|
||||
[Required]
|
||||
[MinLength(12)]
|
||||
[MinLength(8)]
|
||||
[DisplayName("Enter password")]
|
||||
public string Password { get; set; }
|
||||
|
||||
[Required]
|
||||
[MinLength(12)]
|
||||
[MinLength(8)]
|
||||
[DisplayName("Confirm password")]
|
||||
[Compare("Password")]
|
||||
public string ConfirmPassword { get; set; }
|
||||
@ -29,4 +29,4 @@ namespace BuildFeed.Models.ViewModel
|
||||
[DisplayName("Email address")]
|
||||
public string EmailAddress { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user