decePubClient/Shared/RedirectToLogin.razor

8 lines
211 B
Plaintext
Raw Normal View History

2022-02-14 01:51:52 +01:00
@inject NavigationManager Navigation
@code {
protected override void OnInitialized()
{
Navigation.NavigateTo($"authentication/login?returnUrl={Uri.EscapeDataString(Navigation.Uri)}");
}
}