feat(TFARegController): Initialisiert den MVC-Controller und den View zur Bearbeitung der TFA-Registrierung.

This commit is contained in:
Developer 02
2025-02-05 11:32:34 +01:00
parent 808a02968b
commit e27daa4b90
2 changed files with 28 additions and 0 deletions

View File

@@ -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();
}
}