mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 01:38:39 +00:00
Change login UI and improve email setup flow (#619)
* Rework login UI design and change email setup flow * Remove unused middleware * Fix button not lining up with input fields
This commit is contained in:
parent
20b2ef5700
commit
7d187ee982
11 changed files with 207 additions and 179 deletions
|
@ -1,11 +1,9 @@
|
|||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using LBPUnion.ProjectLighthouse.Localization;
|
||||
using LBPUnion.ProjectLighthouse.Middlewares;
|
||||
using LBPUnion.ProjectLighthouse.Servers.Website.Middlewares;
|
||||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using Microsoft.AspNetCore.Localization;
|
||||
using Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation;
|
||||
using Microsoft.Extensions.FileProviders;
|
||||
|
||||
#if !DEBUG
|
||||
|
@ -76,9 +74,10 @@ public class WebsiteStartup
|
|||
app.UseDeveloperExceptionPage();
|
||||
#endif
|
||||
|
||||
app.UseStatusCodePagesWithReExecute("/404");
|
||||
|
||||
app.UseForwardedHeaders();
|
||||
|
||||
app.UseMiddleware<HandlePageErrorMiddleware>();
|
||||
app.UseMiddleware<RequestLogMiddleware>();
|
||||
app.UseMiddleware<UserRequiredRedirectMiddleware>();
|
||||
app.UseMiddleware<RateLimitMiddleware>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue