remove dbeug auth
This commit is contained in:
parent
45d7674f86
commit
6bbd2434de
|
|
@ -37,7 +37,6 @@ public partial class PermissionHandler : AuthorizationHandler<PermissionRequirem
|
|||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine(string.Join(',', context.User.Claims.Select(c => $"{c.Type}: {c.Value}")));
|
||||
var sub = context.User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
|
||||
if (sub == null)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user