Authentication implementation
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
@page "/import"
|
||||
@attribute [Authorize]
|
||||
@attribute [Authorize(Roles = AuthRoles.Administrator)]
|
||||
@using Core.Parsers
|
||||
@using Microsoft.EntityFrameworkCore
|
||||
@using WebApp.Authentication
|
||||
@inject AppDbContext Context
|
||||
|
||||
@rendermode InteractiveServer
|
||||
|
||||
Reference in New Issue
Block a user