Files
yavsc/Yavsc.Server/ViewModels/Account/ChangePasswordBindingModel.cs
Paul Schneider f7d4447594 Two things:
* User views its devices, from a /manage index link
* Yavsc.Server resurection
2018-05-15 12:13:38 +02:00

20 lines
501 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Account { 
public class ChangePasswordBindingModel {
[Required]
[DataType(DataType.Password)]
public string OldPassword { get; set; }
[Required]
[DataType(DataType.Password)]
public string NewPassword { get; set; }
}
public class SetPasswordBindingModel {
[Required]
[DataType(DataType.Password)]
public string NewPassword { get; set; }
}
}