Full-working auth, adding profile
This commit is contained in:
parent
fb77065731
commit
7a72645437
|
|
@ -0,0 +1,12 @@
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
|
namespace FastBlog.Web.Controllers;
|
||||||
|
|
||||||
|
public class RateLimitController : Controller
|
||||||
|
{
|
||||||
|
[HttpGet("/RateLimited")]
|
||||||
|
public IActionResult Index()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
namespace FastBlog.Web;
|
||||||
|
|
||||||
|
public class HtmxAttribute
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
@model TModel
|
||||||
|
|
||||||
Loading…
Reference in New Issue