summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-22 21:48:14 -0400
committerMichael <[email protected]>2017-05-22 21:48:14 -0400
commitf914215c68537e7275cfa826848dba5a9957ebb5 (patch)
treef66fe8cb68151cfa0a53f52f36cc1ebd5ec0f6ad
parentafa3271c8f8a3dab5715fa01a333d1c541e94ce0 (diff)
downloadproject-unite-f914215c68537e7275cfa826848dba5a9957ebb5.tar.gz
project-unite-f914215c68537e7275cfa826848dba5a9957ebb5.tar.bz2
project-unite-f914215c68537e7275cfa826848dba5a9957ebb5.zip
increase minlength of displayname
-rw-r--r--Project-Unite/Models/AccountViewModels.cs2
1 files changed, 1 insertions, 1 deletions
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 @@ namespace Project_Unite.Models
[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; }