Browse Source

Fixed data protection key

pull/20/head
Başak ERDEM 5 years ago
parent
commit
46a47c5ebe
  1. 2
      apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbpPublicWebModule.cs

2
apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbpPublicWebModule.cs

@ -105,7 +105,7 @@ namespace EShopOnAbp.PublicWeb
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]);
context.Services context.Services
.AddDataProtection() .AddDataProtection()
.PersistKeysToStackExchangeRedis(redis, "MyProjectName-Protection-Keys"); .PersistKeysToStackExchangeRedis(redis, "EShopOnAbp-Protection-Keys");
Configure<AbpNavigationOptions>(options => Configure<AbpNavigationOptions>(options =>
{ {

Loading…
Cancel
Save