From f914215c68537e7275cfa826848dba5a9957ebb5 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 22 May 2017 21:48:14 -0400 Subject: [PATCH] increase minlength of displayname --- Project-Unite/Models/AccountViewModels.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project-Unite/Models/AccountViewModels.cs b/Project-Unite/Models/AccountViewModels.cs index 4850c7c..dbbc1e6 100644 --- a/Project-Unite/Models/AccountViewModels.cs +++ b/Project-Unite/Models/AccountViewModels.cs @@ -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; }