LANCommander/LANCommander.Launcher/UI/Layouts/AuthenticatedLayout.razor
Pat Hartl acb91f8484 Fix login/logout UX
- Moves authentication back to a /Authenticate page route
- Flatten the namespaces of page components
- Implement top-level layouts as windows
- Move handling of redirecting to /Authenticate with component inside of an AuthenticatedLayout
- Use individiual injected services instead of SDK.Client
- Wipe out tokens on logout
- Process logout even if server can't be reached
2025-11-07 20:19:13 -06:00

12 lines
No EOL
282 B
Text

@using LANCommander.Launcher.UI.Windows
@inherits LayoutComponentBase
@layout MainWindow
<AuthenticatedView NoAutoValidate="false">
<Authenticated>
@Body
</Authenticated>
<NotAuthenticated>
<RedirectToLogin/>
</NotAuthenticated>
</AuthenticatedView>