feat(TFARegController): Initialisiert den MVC-Controller und den View zur Bearbeitung der TFA-Registrierung.
This commit is contained in:
14
EnvelopeGenerator.Web/Controllers/TFARegController.cs
Normal file
14
EnvelopeGenerator.Web/Controllers/TFARegController.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user