2026-10-04 11:03:14 +02:00
|
|
|
@* Where AuthorizeRouteView sends a reader who is not signed in: the login page, which comes back here afterwards. *@
|
|
|
|
|
@code {
|
2026-10-03 15:26:21 +02:00
|
|
|
[Inject] NavigationManager Navigation { get; set; }
|
2022-02-14 01:51:52 +01:00
|
|
|
|
2026-10-03 15:26:21 +02:00
|
|
|
protected override void OnInitialized()
|
|
|
|
|
{
|
2026-10-04 11:03:14 +02:00
|
|
|
Navigation.NavigateTo($"login?returnUrl={Uri.EscapeDataString(Navigation.ToBaseRelativePath(Navigation.Uri))}");
|
2026-10-03 15:26:21 +02:00
|
|
|
}
|
|
|
|
|
}
|