1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 19:23:45 +00:00

SSO config revision date not updating fix (#934)

This commit is contained in:
Chad Scharf
2020-09-14 21:22:24 -04:00
committed by GitHub
parent c0e99d4047
commit 692b3970af
3 changed files with 14 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ namespace Bit.Core.Business.Sso
_ssoConfigRepository = ssoConfigRepository;
_logger = logger;
_globalSettings = globalSettings;
_schemeCacheLifetime = TimeSpan.FromSeconds(_globalSettings.Sso?.CacheLifetimeInSeconds ?? 60);
_schemeCacheLifetime = TimeSpan.FromSeconds(_globalSettings.Sso?.CacheLifetimeInSeconds ?? 30);
_samlEnvironment = samlEnvironment;
_cachedSchemes = new Dictionary<string, DynamicAuthenticationScheme>();
_cachedHandlerSchemes = new Dictionary<string, DynamicAuthenticationScheme>();