Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HaikAsatryan committed Jun 29, 2024
1 parent 3c986ff commit ace6a42
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private static void CreateSecureCookies(this List<Cookie> cookies, HttpContext h

if (!environment.IsLocalOrDevelopment())
{
cookieOptions.SameSite = SameSiteMode.Lax; //todo check in qa env what should be here
cookieOptions.SameSite = SameSiteMode.Strict; //todo check in qa env what should be here
}


Expand Down Expand Up @@ -64,7 +64,7 @@ public static void DeleteAllCookies(this HttpContext httpContext, IHostEnvironme

if (!environment.IsLocalOrDevelopment())
{
cookieOptions.SameSite = SameSiteMode.Lax;
cookieOptions.SameSite = SameSiteMode.Strict;
}

httpContext.Response.Cookies.Delete(cookie.Key, cookieOptions);
Expand Down

0 comments on commit ace6a42

Please sign in to comment.