From 0b2b8690fe98e7acbcea258af991f61fbf4c055f Mon Sep 17 00:00:00 2001 From: maliming Date: Wed, 2 Nov 2022 17:50:51 +0800 Subject: [PATCH] `AddAuthenticationCore` on `AbpAspNetCoreModule`. Resolve #14493 --- .../Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs index 623597649b..7cc014e420 100644 --- a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs +++ b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs @@ -33,6 +33,8 @@ public class AbpAspNetCoreModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { + context.Services.AddAuthenticationCore(); + Configure(options => { options.Contributors.Add(new AspNetCoreAuditLogContributor());