diff --git a/BuildFeed/Models/ViewModel/ChangePassword.cs b/BuildFeed/Models/ViewModel/ChangePassword.cs index d5a3410..cfb29fa 100644 --- a/BuildFeed/Models/ViewModel/ChangePassword.cs +++ b/BuildFeed/Models/ViewModel/ChangePassword.cs @@ -10,19 +10,19 @@ namespace BuildFeed.Models.ViewModel public class ChangePassword { [Required] - [MinLength(12)] + [MinLength(8)] [DisplayName("Enter current password")] public string OldPassword { get; set; } [Required] - [MinLength(12)] + [MinLength(8)] [DisplayName("Enter new password")] public string NewPassword { get; set; } [Required] - [MinLength(12)] + [MinLength(8)] [DisplayName("Confirm new password")] [Compare("NewPassword")] public string ConfirmNewPassword { get; set; } } -} \ No newline at end of file +}