mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
22 lines
540 B
C#
22 lines
540 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BTCPayServer.Models.AccountViewModels
|
|
{
|
|
public class LoginViewModel
|
|
{
|
|
[Required]
|
|
[EmailAddress]
|
|
[Display(Name = "Email address")]
|
|
public string Email { get; set; }
|
|
|
|
[Required]
|
|
[DataType(DataType.Password)]
|
|
[Display(Name = "Password")]
|
|
public string Password { get; set; }
|
|
public string LoginCode { get; set; }
|
|
|
|
[Display(Name = "Remember me")]
|
|
public bool RememberMe { get; set; }
|
|
}
|
|
}
|