mirror of
https://github.com/bitwarden/server.git
synced 2026-02-08 01:43:15 +08:00
more premium licensing
This commit is contained in:
@@ -106,7 +106,7 @@ namespace Bit.Core.Services
|
||||
throw new InvalidOperationException("No exp in token.");
|
||||
}
|
||||
|
||||
var expiration = CoreHelpers.FromEpocMilliseconds(1000 * exp.Value<long>());
|
||||
var expiration = CoreHelpers.FromEpocSeconds(exp.Value<long>());
|
||||
return DateTime.UtcNow < expiration;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user