Browse Source

Merge pull request #22412 from abpframework/liangshiwei/patch-2

Redirect to login URL instead of logout URL in WebAssemblyRedirectToLogin Component
pull/22413/head
maliming 2 years ago
committed by GitHub
parent
commit
d97a03697f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      modules/basic-theme/src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme/Themes/Basic/WebAssemblyRedirectToLogin.razor

2
modules/basic-theme/src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme/Themes/Basic/WebAssemblyRedirectToLogin.razor

@ -15,7 +15,7 @@
{
if (AbpAspNetCoreComponentsWebOptions.Value.IsBlazorWebApp)
{
Navigation.NavigateTo(AuthenticationOptions.Value.LogoutUrl, forceLoad: true);
Navigation.NavigateTo(AuthenticationOptions.Value.LoginUrl, forceLoad: true);
}
else
{

Loading…
Cancel
Save