mirror of
https://github.com/bitwarden/server
synced 2025-12-17 08:43:27 +00:00
back to 1 day
This commit is contained in:
@@ -77,7 +77,7 @@ namespace Bit.Core.Services
|
|||||||
if(_userCheckCache.ContainsKey(user.Id))
|
if(_userCheckCache.ContainsKey(user.Id))
|
||||||
{
|
{
|
||||||
var lastCheck = _userCheckCache[user.Id];
|
var lastCheck = _userCheckCache[user.Id];
|
||||||
if(lastCheck < now && now - lastCheck < TimeSpan.FromMinutes(1))
|
if(lastCheck < now && now - lastCheck < TimeSpan.FromDays(1))
|
||||||
{
|
{
|
||||||
return user.Premium;
|
return user.Premium;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user