diff --git a/framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/AbpAspNetCoreComponentsWebThemingModule.cs b/framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/AbpAspNetCoreComponentsWebThemingModule.cs index e2a0617b90..6c861e867b 100644 --- a/framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/AbpAspNetCoreComponentsWebThemingModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/AbpAspNetCoreComponentsWebThemingModule.cs @@ -1,4 +1,5 @@ -using Volo.Abp.BlazoriseUI; +using Volo.Abp.AspNetCore.Components.Web.Security; +using Volo.Abp.BlazoriseUI; using Volo.Abp.Modularity; using Volo.Abp.UI.Navigation; @@ -10,5 +11,11 @@ namespace Volo.Abp.AspNetCore.Components.Web.Theming; )] public class AbpAspNetCoreComponentsWebThemingModule : AbpModule { - + public override void ConfigureServices(ServiceConfigurationContext context) + { + Configure(options => + { + options.Components.Add(typeof(AbpAuthenticationSessionState), null); + }); + } }