Skip to content

Commit

Permalink
Log message should write out ID, not just name of the class....
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersAbel committed Jun 18, 2020
1 parent 523f0b5 commit 937547c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sustainsys.Saml2/WebSSO/AcsCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ private static CommandResult ProcessResponse(
}
}

options.SPOptions.Logger.WriteInformation("Successfully processed SAML response " + samlResponse.Id
+ " and authenticated " + principal.FindFirst(ClaimTypes.NameIdentifier)?.Value);
options.SPOptions.Logger.WriteInformation("Successfully processed SAML response "
+ samlResponse.Id.Value + " and authenticated "
+ principal.FindFirst(ClaimTypes.NameIdentifier)?.Value);

return new CommandResult()
{
Expand Down

0 comments on commit 937547c

Please sign in to comment.