diff --git a/EnvelopeGenerator.Web/Controllers/TFARegController.cs b/EnvelopeGenerator.Web/Controllers/TFARegController.cs new file mode 100644 index 00000000..d9e18024 --- /dev/null +++ b/EnvelopeGenerator.Web/Controllers/TFARegController.cs @@ -0,0 +1,14 @@ +using Microsoft.AspNetCore.Mvc; + +namespace EnvelopeGenerator.Web.Controllers; + +//TODO: Add authorization as well as limiting the link duration (intermediate token with different role) +[Route("tfa")] +public class TFARegController : Controller +{ + [HttpGet("{key}")] + public IActionResult Reg(string key) + { + return View(); + } +} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/Views/TFAReg/Reg.cshtml b/EnvelopeGenerator.Web/Views/TFAReg/Reg.cshtml new file mode 100644 index 00000000..42e88dfb --- /dev/null +++ b/EnvelopeGenerator.Web/Views/TFAReg/Reg.cshtml @@ -0,0 +1,14 @@ +@{ + ViewData["Title"] = "Reg"; +} +
Summary
+