mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 12:04:16 +01:00
clean up some stuff
This commit is contained in:
parent
17ae9633e8
commit
6d355d9b90
7 changed files with 32 additions and 60 deletions
|
|
@ -222,7 +222,6 @@ public sealed class TokenProvider : IDisposable, IMediatorSubscriber
|
|||
var jwt = handler.ReadJwtToken(token);
|
||||
if (jwt.ValidTo == DateTime.MinValue || jwt.ValidTo.Subtract(TimeSpan.FromMinutes(5)) > DateTime.UtcNow)
|
||||
{
|
||||
_logger.LogTrace("GetOrUpdate: Returning token from cache");
|
||||
return token;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue