mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 03:11:48 -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]
|
||||
[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")]
|
||||
public string Username { get; set; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue