Skip to content

Commit

Permalink
login header secure flag added
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafakucuk-dev committed Dec 26, 2023
1 parent 0ef8e56 commit e3e98eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AccessController(
// response.addCookie(cookie)

// Manually construct the Set-Cookie header value
val cookieValue = "SESSIONID=$sessionId; Path=/; SameSite=None"
val cookieValue = "SESSIONID=$sessionId; Path=/; SameSite=None; Secure"

// Add the Set-Cookie header to the response
response.addHeader("Set-Cookie", cookieValue)
Expand Down

0 comments on commit e3e98eb

Please sign in to comment.