WIP Accesses

This commit is contained in:
Paul Schneider
2024-03-04 01:02:19 +00:00
parent bc803b1547
commit 39f98229eb
869 changed files with 217495 additions and 2859 deletions

View File

@ -12,7 +12,7 @@ namespace Yavsc.Helpers
public static string GetUserId(this ClaimsPrincipal user)
{
return user.FindFirstValue(ClaimTypes.NameIdentifier);
return user.FindFirstValue("sub");
}
public static string GetUserName(this ClaimsPrincipal user)