Skip to content

Commit ace6a42

Browse files
committed
minor fix
1 parent 3c986ff commit ace6a42

File tree

1 file changed

+2
-2
lines changed
  • src/Pandatech.CleanArchitecture.Application/Features/Auth/Helpers

1 file changed

+2
-2
lines changed

src/Pandatech.CleanArchitecture.Application/Features/Auth/Helpers/CookieHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private static void CreateSecureCookies(this List<Cookie> cookies, HttpContext h
3030

3131
if (!environment.IsLocalOrDevelopment())
3232
{
33-
cookieOptions.SameSite = SameSiteMode.Lax; //todo check in qa env what should be here
33+
cookieOptions.SameSite = SameSiteMode.Strict; //todo check in qa env what should be here
3434
}
3535

3636

@@ -64,7 +64,7 @@ public static void DeleteAllCookies(this HttpContext httpContext, IHostEnvironme
6464

6565
if (!environment.IsLocalOrDevelopment())
6666
{
67-
cookieOptions.SameSite = SameSiteMode.Lax;
67+
cookieOptions.SameSite = SameSiteMode.Strict;
6868
}
6969

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

0 commit comments

Comments
 (0)