Skip to content

Commit

Permalink
Use Microsoft.AspNetCore.SuppressSameSiteNone compat key
Browse files Browse the repository at this point in the history
  • Loading branch information
Tratcher committed Sep 10, 2019
1 parent 43a22ae commit f8c6ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Headers/src/SetCookieHeaderValue.cs
Expand Up @@ -42,7 +42,7 @@ public class SetCookieHeaderValue

static SetCookieHeaderValue()
{
if (AppContext.TryGetSwitch("Microsoft.Net.Http.Headers.SetCookieHeaderValue.SuppressSameSiteNone", out var enabled))
if (AppContext.TryGetSwitch("Microsoft.AspNetCore.SuppressSameSiteNone", out var enabled))
{
SuppressSameSiteNone = enabled;
}
Expand Down

0 comments on commit f8c6ff1

Please sign in to comment.