1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-09 23:28:12 -05:00

back to 1 day

This commit is contained in:
Kyle Spearrin 2017-08-16 23:45:40 -04:00
parent 297b0253e4
commit 127ff2d361

View File

@ -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;
} }