@page "/login"
@using System.ComponentModel.DataAnnotations
@using Microsoft.AspNetCore.Authentication
@using Microsoft.AspNetCore.Authentication.Cookies
@layout TaxBaik.Admin.Components.Layout.BlankLayout
@attribute [AllowAnonymous]
로그인
관리자 로그인
@if (!string.IsNullOrEmpty(errorMessage))
{
@errorMessage
}
로그인
@code {
private MudForm form;
private bool isFormValid = false;
private string errorMessage = "";
private LoginModel model = new();
private async Task HandleLogin()
{
errorMessage = "로그인 기능은 준비 중입니다.";
}
private class LoginModel
{
public string Username { get; set; }
public string Password { get; set; }
}
}