Full-working auth, adding profile

This commit is contained in:
the1mason 2025-01-09 22:29:56 +05:00
parent fb77065731
commit 7a72645437
5 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,12 @@
using Microsoft.AspNetCore.Mvc;
namespace FastBlog.Web.Controllers;
public class RateLimitController : Controller
{
[HttpGet("/RateLimited")]
public IActionResult Index()
{
return View();
}
}

View File

@ -0,0 +1,6 @@
namespace FastBlog.Web;
public class HtmxAttribute
{
}

View File

@ -0,0 +1,12 @@
@{
ViewBag.Title = "Rate limit exceeded";
}
<div class="container">
<article>
<header>Rate limit exceeded!</header>
<div>
<p>You have sent too many requests!</p>
</div>
</article>
</div>

View File

@ -0,0 +1,2 @@
@model TModel