Add AD auth and B1 currency fields
This commit is contained in:
@@ -1,6 +1,23 @@
|
||||
<Router AppAssembly="typeof(Program).Assembly">
|
||||
<Found Context="routeData">
|
||||
<RouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)" />
|
||||
<FocusOnNavigate RouteData="routeData" Selector="h1" />
|
||||
</Found>
|
||||
</Router>
|
||||
@using Microsoft.AspNetCore.Components.Authorization
|
||||
|
||||
<CascadingAuthenticationState>
|
||||
<Router AppAssembly="typeof(Program).Assembly">
|
||||
<Found Context="routeData">
|
||||
<AuthorizeRouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)">
|
||||
<NotAuthorized>
|
||||
<LayoutView Layout="typeof(Layout.MainLayout)">
|
||||
<MudAlert Severity="Severity.Error" Variant="Variant.Outlined">
|
||||
Zugriff verweigert. Bitte mit einem berechtigten Windows-/Domain-Benutzer anmelden.
|
||||
</MudAlert>
|
||||
</LayoutView>
|
||||
</NotAuthorized>
|
||||
<Authorizing>
|
||||
<LayoutView Layout="typeof(Layout.MainLayout)">
|
||||
<MudProgressCircular Indeterminate="true" />
|
||||
</LayoutView>
|
||||
</Authorizing>
|
||||
</AuthorizeRouteView>
|
||||
<FocusOnNavigate RouteData="routeData" Selector="h1" />
|
||||
</Found>
|
||||
</Router>
|
||||
</CascadingAuthenticationState>
|
||||
|
||||
Reference in New Issue
Block a user