Update RegistrationUser.cs

Dropping min password length
This commit is contained in:
Mitchell R 2015-07-26 14:42:35 +02:00
parent c1d7bd808c
commit bdf51f760c

View File

@ -14,12 +14,12 @@ namespace BuildFeed.Models.ViewModel
public string UserName { get; set; }
[Required]
[MinLength(12)]
[MinLength(8)]
[DisplayName("Enter password")]
public string Password { get; set; }
[Required]
[MinLength(12)]
[MinLength(8)]
[DisplayName("Confirm password")]
[Compare("Password")]
public string ConfirmPassword { get; set; }
@ -29,4 +29,4 @@ namespace BuildFeed.Models.ViewModel
[DisplayName("Email address")]
public string EmailAddress { get; set; }
}
}
}