@inject HttpClient Client @inject IDialogService DialogService @inject AuthService AuthService @inject NavigationManager NavigationManager @page "/ChangePassword" @if (AuthService.OnlyAdmin || !AuthService.LoginRequired) { NavigationManager.NavigateTo("/"); } else { if (AuthService.IsLoggedIn) { @Localizer["Change Password"]
@Localizer["Change Password"]
} else { NavigationManager.NavigateTo("/"); } }