Skip to content

Commit

Permalink
Merge pull request #1666 from SimonCropp/fix-null-reference-in-PostCo…
Browse files Browse the repository at this point in the history
…nfigureApplicationCookieTicketStore-PostConfigure

fix null reference in PostConfigureApplicationCookieTicketStore PostConfigure
  • Loading branch information
josephdecock authored Dec 10, 2024
2 parents f6257fb + f82d30c commit 0aae1e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void PostConfigure(string name, CookieAuthenticationOptions options)
{
if(_httpContextAccessor.HttpContext == null)
{
_logger.LogDebug("Failed to configure server side sessions for the authentication cookie scheme \"{scheme}\" because there is no current HTTP request");
_logger?.LogDebug("Failed to configure server side sessions for the authentication cookie scheme \"{scheme}\" because there is no current HTTP request");
return;
}

Expand Down

0 comments on commit 0aae1e2

Please sign in to comment.