mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 11:21:47 -05:00
increase minlength of displayname
This commit is contained in:
parent
afa3271c8f
commit
f914215c68
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public class RegisterViewModel
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
[MaxLength(25, ErrorMessage ="Your username must be less than 25 characters long.")]
|
[MaxLength(25, ErrorMessage ="Your username must be less than 25 characters long.")]
|
||||||
[MinLength(3, ErrorMessage ="Your username must have a minimum of 3 characters.")]
|
[MinLength(5, ErrorMessage ="Your username must have a minimum of 5 characters.")]
|
||||||
[Display(Name = "Username")]
|
[Display(Name = "Username")]
|
||||||
public string Username { get; set; }
|
public string Username { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue