Skip to content

Commit

Permalink
fix null reference in PostConfigureApplicationCookieTicketStore PostC…
Browse files Browse the repository at this point in the history
…onfigure
  • Loading branch information
SimonCropp committed Dec 9, 2024
1 parent bb383dd commit f82d30c
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 f82d30c

Please sign in to comment.