-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
In UsersPage.razor UserDetailPage.razor, the functions get incorrect value for _currentUserId :
private async Task ResolveCurrentUser()
{
try
{
var authState = await AuthenticationStateProvider.GetAuthenticationStateAsync();
_currentUserId = authState.User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
}
catch
{
// Authentication state unavailable - user remains null (not logged in)
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels