14 lines
347 B
C#
14 lines
347 B
C#
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();
|
|
}
|
|
} |