aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/Pages/Login.cshtml.cs
blob: 5726535f446e009ec559cbe3fa87688ace0d67fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
namespace Quality.Storage.Api.Pages;

public class Login : BasePageModel
{
	public ActionResult OnGet() {
		ViewData["Title"] = "Login";
		if (IsAuthenticated) return Redirect("/home");
		return Page();
	}
}