Skip to content

Commit

Permalink
Always use secure cookie policy
Browse files Browse the repository at this point in the history
  • Loading branch information
i-vukman committed Dec 15, 2023
1 parent a4b7c53 commit 6c69e21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AnagramSolver/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
return Task.FromResult<object?>(null);
};
options.Cookie.SameSite = SameSiteMode.Strict;
options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
});

builder.Services.AddHangfire(config => config.SetDataCompatibilityLevel(CompatibilityLevel.Version_180)
Expand Down

0 comments on commit 6c69e21

Please sign in to comment.