Skip to content

Commit e602a73

Browse files
authored
Fixed token eval
1 parent 50a05ea commit e602a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jellyfin.HardwareVisualizer/Server/Services/SubmitToken/SubmitTokenService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public bool Validate(JwtPayload token, out TimeSpan? retryAfter)
6666
}
6767

6868
retryAfter = null;
69-
return tokenStore.JwtPayload.ValidTo > DateTime.UtcNow;
69+
return token.ValidTo > DateTime.UtcNow;
7070
}
7171

7272
public (string? token, TimeSpan? retryAfter) GenerateToken()

0 commit comments

Comments
 (0)