fix: singleton added in JwtTokenService

This commit is contained in:
Polianin Nikita 2024-06-13 00:42:15 +03:00
parent 70780d620a
commit eba11f515d

View File

@ -14,7 +14,6 @@ public static class SecureConfiguration
{
services.AddSecurityServices(configuration);
services.AddSingleton<IAccessToken, JwtTokenService>();
services.AddSingleton<IRevokedToken, MemoryRevokedTokenService>();
if (configuration.Get<GeneralConfig>()?.CacheSettings?.TypeDatabase == CacheSettings.CacheEnum.Redis)