mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Update ChangePassword.cs
Allowing for a min password of 8 characters instead of 12.
This commit is contained in:
parent
654a5265d6
commit
fd16d09234
|
@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user