Added Admin pages
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
@page "/counter"
|
||||
@using HopFrame.Web.Components
|
||||
@rendermode InteractiveServer
|
||||
|
||||
<PageTitle>Counter</PageTitle>
|
||||
|
||||
@@ -23,7 +23,7 @@ if (!app.Environment.IsDevelopment()) {
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
app.UseStaticFiles();
|
||||
app.UseAntiforgery();
|
||||
//app.UseAntiforgery();
|
||||
app.UseAuthorization();
|
||||
app.UseAuthentication();
|
||||
app.UseMiddleware<AuthMiddleware>();
|
||||
|
||||
Reference in New Issue
Block a user