increase minlength of displayname

This commit is contained in:
Michael 2017-05-22 21:48:14 -04:00
parent afa3271c8f
commit f914215c68

View file

@ -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; }