summaryrefslogtreecommitdiffstats
path: root/api/WhatApi/Endpoints/GetLoginPageEndpoint.cs
blob: dd1766968fedb5d71b5fdc40c00c44427ac0aa4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using WhatApi.Templates;

namespace WhatApi.Endpoints;

public class GetLoginPageEndpoint : BaseEndpoint
{
    [AllowAnonymous]
    [HttpGet("~/login")]
    public ActionResult Handle() {
        return Content(TemplateFulfiller.WebLoginPage(), "text/html");
    }
}