added login stuff
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@page "/admin"
|
||||
@using Microsoft.AspNetCore.Authorization
|
||||
@attribute [Authorize]
|
||||
@attribute [Authorize(Roles = "Admin")]
|
||||
@rendermode InteractiveServer
|
||||
|
||||
<div class="admin-wrapper">
|
||||
|
||||
Reference in New Issue
Block a user