Skip to content

Commit

Permalink
Merge pull request abpframework#14720 from abpframework/auto-merge/re…
Browse files Browse the repository at this point in the history
…l-7-0/1467

Merge branch dev with rel-7.0
  • Loading branch information
realLiangshiwei authored Nov 18, 2022
2 parents 7c245f5 + fa01998 commit 81380d0
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Volo.Abp.Modularity;
using Volo.Abp.Security.Claims;
using Volo.Abp.Security.Encryption;
using Volo.Abp.SecurityLog;

namespace Volo.Abp.Security;

Expand All @@ -17,6 +18,15 @@ public override void PostConfigureServices(ServiceConfigurationContext context)

public override void ConfigureServices(ServiceConfigurationContext context)
{
var applicationName = context.Services.GetApplicationName();
if (!applicationName.IsNullOrEmpty())
{
Configure<AbpSecurityLogOptions>(options =>
{
options.ApplicationName = applicationName;
});
}

var configuration = context.Services.GetConfiguration();
context.Services.Configure<AbpStringEncryptionOptions>(options =>
{
Expand Down

0 comments on commit 81380d0

Please sign in to comment.