Browse Source

`AddAuthenticationCore` on `AbpAspNetCoreModule`.

Resolve #14493
pull/14518/head
maliming 4 years ago
parent
commit
0b2b8690fe
No known key found for this signature in database GPG Key ID: 96224957E51C89E
  1. 2
      framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs

2
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<AbpAuditingOptions>(options =>
{
options.Contributors.Add(new AspNetCoreAuditLogContributor());

Loading…
Cancel
Save