@ -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(
|
||||
|
Reference in New Issue
Block a user