From 79d442d9575f003b915cbab818064f0a7e33b3b3 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Sat, 30 May 2026 02:26:33 +0200 Subject: [PATCH] BugFix --- StreamingGateway/Authentication/TicketValidator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StreamingGateway/Authentication/TicketValidator.cs b/StreamingGateway/Authentication/TicketValidator.cs index b3fb469..9bdf23f 100644 --- a/StreamingGateway/Authentication/TicketValidator.cs +++ b/StreamingGateway/Authentication/TicketValidator.cs @@ -42,7 +42,7 @@ public sealed class TicketValidator : IDisposable return Result.Unauthorized(); var result = await _handler.ValidateTokenAsync(token, _validationParameters); - if (result.IsValid) + if (!result.IsValid) return Result.Unauthorized(); if (!result.Claims.TryGetValue("prefix", out var claim))