Login secure problem
This commit is contained in:
@@ -55,8 +55,8 @@ namespace WorkFlowCheck.Web.Pages.Account
|
||||
Response.Cookies.Append("AuthToken", token, new CookieOptions
|
||||
{
|
||||
HttpOnly = true,
|
||||
Secure = true,
|
||||
SameSite = SameSiteMode.Strict,
|
||||
Secure = HttpContext.Request.IsHttps,
|
||||
SameSite = SameSiteMode.Lax,
|
||||
Expires = DateTimeOffset.UtcNow.AddDays(1)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user