mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2024-11-14 17:44:20 +01:00
Working on auth
This commit is contained in:
parent
f89b9edbc9
commit
6e928ba4e3
2
DotBased
2
DotBased
|
@ -1 +1 @@
|
|||
Subproject commit 17f69824eb3a854be545c3517c8ecd4bb63eab7b
|
||||
Subproject commit d98634d8887e0bab7add7f2181c2cdd5db77e1d2
|
|
@ -1,7 +1,6 @@
|
|||
@page "/Auth/Login"
|
||||
@using SharpRSS.Blazor.Extensions
|
||||
@inject NavigationManager NavigationManager
|
||||
@attribute [AllowAnonymous]
|
||||
|
||||
<PageTitle>Login | SharpRSS</PageTitle>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
@layout EmptyLayout
|
||||
@attribute [AllowAnonymous]
|
||||
|
||||
@code {
|
||||
|
||||
}
|
5
SharpRSS.Blazor/Components/Pages/_Imports.razor
Normal file
5
SharpRSS.Blazor/Components/Pages/_Imports.razor
Normal file
|
@ -0,0 +1,5 @@
|
|||
@layout MainLayout
|
||||
|
||||
@code {
|
||||
|
||||
}
|
|
@ -13,9 +13,9 @@
|
|||
</AuthorizeRouteView>
|
||||
</Found>
|
||||
<NotFound>
|
||||
<PageTitle>Not found!</PageTitle>
|
||||
<LayoutView Layout="@typeof(EmptyLayout)">
|
||||
@*TODO: Manage not found*@
|
||||
<PageTitle>Not found!</PageTitle>
|
||||
<p>Page not found!</p>
|
||||
</LayoutView>
|
||||
</NotFound>
|
||||
|
|
|
@ -80,6 +80,7 @@ app.UseAntiforgery();
|
|||
app.UseBasedServerAuth();
|
||||
|
||||
app.MapRazorComponents<App>()
|
||||
.AddInteractiveServerRenderMode();
|
||||
.AddInteractiveServerRenderMode()
|
||||
.AllowAnonymous();
|
||||
|
||||
app.Run();
|
Loading…
Reference in New Issue
Block a user