fix #4714 as well as breaking change in #4712

This commit is contained in:
sbwalker
2024-10-14 15:05:46 -04:00
parent 0e5b370ee8
commit 93bc1cd5af
4 changed files with 14 additions and 9 deletions

View File

@ -609,7 +609,7 @@
Expires = DateTimeOffset.UtcNow.AddYears(1),
SameSite = Microsoft.AspNetCore.Http.SameSiteMode.Lax, // Set SameSite attribute
Secure = true, // Ensure the cookie is only sent over HTTPS
HttpOnly = true // Optional: Helps mitigate XSS attacks
HttpOnly = false // cookie is updated using JS Interop
};
Context.Response.Cookies.Append(