File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/AdminConsole/Components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77 <Found Context =" routeData" >
88 <!-- The 'Resource' property will be used in 'HasAppHandler' to obtain the 'app' route parameter -->
99 <!-- If we implement new policies to protect resources, we should protect them with resource based uri and compare them with the user's claims. -->
10- <AuthorizeRouteView RouteData =" @routeData" Resource =" @HttpContextAccessor.HttpContext" DefaultLayout =" @typeof(Layouts.MainLayout)" >
10+ <AuthorizeRouteView RouteData =" @routeData" Resource =" @HttpContextAccessor.HttpContext"
11+ DefaultLayout =" @typeof(Layouts.MainLayout)" >
1112 <!-- When visiting a page that requires authorization, but the user isn't authorized, redirect to the login page -->
1213 <NotAuthorized >
13- <RedirectToLogin />
14+ <RedirectToLogin />
1415 </NotAuthorized >
1516 </AuthorizeRouteView >
16- <FocusOnNavigate RouteData =" @routeData" Selector =" h1" />
1717 </Found >
1818</Router >
You can’t perform that action at this time.
0 commit comments