refactor: 移除 NotAuthorized 代码

This commit is contained in:
Argo-Tianyi 2021-05-25 14:35:17 +08:00
parent b6f0e08257
commit d9a80affcf
1 changed files with 0 additions and 7 deletions

View File

@ -2,13 +2,6 @@
<Router AppAssembly="@typeof(MainLayout).Assembly" PreferExactMatches="@true"> <Router AppAssembly="@typeof(MainLayout).Assembly" PreferExactMatches="@true">
<Found Context="routeData"> <Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"> <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
<NotAuthorized>
<RedirectToLogin />
</NotAuthorized>
<Authorizing>
<h1>Authentication in progress</h1>
<p>You can only see this content while authentication is in progress.</p>
</Authorizing>
</AuthorizeRouteView> </AuthorizeRouteView>
</Found> </Found>
<NotFound> <NotFound>