remove dbeug auth

This commit is contained in:
honzapatCZ 2026-04-03 12:26:55 +02:00
parent 45d7674f86
commit 6bbd2434de

View File

@ -37,7 +37,6 @@ public partial class PermissionHandler : AuthorizationHandler<PermissionRequirem
} }
else else
{ {
Console.WriteLine(string.Join(',', context.User.Claims.Select(c => $"{c.Type}: {c.Value}")));
var sub = context.User.FindFirst(ClaimTypes.NameIdentifier)?.Value; var sub = context.User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
if (sub == null) if (sub == null)
return; return;