mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
update details
This commit is contained in:
@@ -261,13 +261,13 @@ namespace Emby.Server.Implementations.Security
|
||||
var reg = new RegRecord
|
||||
{
|
||||
// Cache the result for up to a week
|
||||
registered = regInfo != null && nextCheckDate >= DateTime.UtcNow,
|
||||
registered = regInfo != null && nextCheckDate >= DateTime.UtcNow && expDate >= DateTime.UtcNow,
|
||||
expDate = expDate
|
||||
};
|
||||
|
||||
var success = reg.registered;
|
||||
|
||||
if (!(lastChecked > DateTime.UtcNow.AddDays(-1)))
|
||||
if (!(lastChecked > DateTime.UtcNow.AddDays(-1)) || !reg.registered)
|
||||
{
|
||||
var data = new Dictionary<string, string>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user