I created a new Blazor project with individual accounts, then transferred the files over to the existing project. Then renamed ApplicationDbContext to: IdentityContext to distinguish from the application context. Then ran the update database command with the existing migration for identity.
9 lines
210 B
Plaintext
9 lines
210 B
Plaintext
@page "/Account/AccessDenied"
|
|
|
|
<PageTitle>Access denied</PageTitle>
|
|
|
|
<header>
|
|
<h1 class="text-danger">Access denied</h1>
|
|
<p class="text-danger">You do not have access to this resource.</p>
|
|
</header>
|