mirror of
https://github.com/bitwarden/server.git
synced 2025-02-23 03:01:23 +01:00
no longer cache remember me token (#3267)
This commit is contained in:
parent
b6d32129e6
commit
d3aceea377
@ -163,8 +163,11 @@ public abstract class BaseRequestValidator<T> where T : class
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (twoFactorProviderType != TwoFactorProviderType.Remember)
|
||||||
|
{
|
||||||
await Core.Utilities.DistributedCacheExtensions.SetAsync(_distributedCache, cacheKey, twoFactorToken, _cacheEntryOptions);
|
await Core.Utilities.DistributedCacheExtensions.SetAsync(_distributedCache, cacheKey, twoFactorToken, _cacheEntryOptions);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
twoFactorRequest = false;
|
twoFactorRequest = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user