sync public allowlist from private myoffice
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
namespace MyOffice.Web.Models.Auth;
|
||||
|
||||
public class LoginModel
|
||||
{
|
||||
public string? UserName { get; set; }
|
||||
public string? Password { get; set; }
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
namespace MyOffice.Web.Models.Auth;
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
public class RegisterModel
|
||||
{
|
||||
[Required]
|
||||
[EmailAddress]
|
||||
public string UserName { get; set; } = null!;
|
||||
|
||||
[Required]
|
||||
[MinLength(8)]
|
||||
public string Password { get; set; } = null!;
|
||||
|
||||
[Required]
|
||||
[Compare(nameof(Password))]
|
||||
public string ConfirmPassword { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user