refact and login
This commit is contained in:
parent
acc34aeee4
commit
e042e34bf7
78 changed files with 2492 additions and 50576 deletions
|
|
@ -5,12 +5,12 @@ namespace Yavsc.ViewModels.Manage
|
|||
{
|
||||
public class ChangePasswordViewModel
|
||||
{
|
||||
[YaRequired]
|
||||
[Required]
|
||||
[DataType(DataType.Password)]
|
||||
[Display(Name = "Current password")]
|
||||
public string OldPassword { get; set; }
|
||||
|
||||
[YaRequired]
|
||||
[Required]
|
||||
[YaStringLength(100, ErrorMessage = "The {0} must be at least {2} characters long.", MinimumLength = 6)]
|
||||
[DataType(DataType.Password)]
|
||||
[Display(Name = "New password")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue