decePubClient/Shared/RedirectToLogin.razor
Eugenio Chiodo 5cba76554a Save
2022-02-14 01:51:52 +01:00

8 lines
211 B
Plaintext

@inject NavigationManager Navigation
@code {
protected override void OnInitialized()
{
Navigation.NavigateTo($"authentication/login?returnUrl={Uri.EscapeDataString(Navigation.Uri)}");
}
}