Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Altinn.App.Api/Controllers/ProfileController.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Altinn.App.Api.Helpers;
using Altinn.App.Core.Features.Auth;
using Altinn.Platform.Profile.Models;
using Microsoft.AspNetCore.Authorization;
Expand Down Expand Up @@ -39,7 +38,7 @@ public async Task<ActionResult> GetUser()
case Authenticated.User user:
{
var details = await user.LoadDetails(validateSelectedParty: false);
return Ok(PartySsnMasking.MaskUserProfile(details.Profile));
return Ok(details.Profile);
Comment thread
framitdavid marked this conversation as resolved.
}
default:
return BadRequest($"Unknown authentication context: {context.GetType().Name}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
partyUuid: null,
partyTypeName: 0,
orgNumber: null,
ssn: 010390*****,
ssn: 01039012345,
unitType: null,
name: null,
isDeleted: false,
Expand Down
Loading