Use SameSite=Strict for session cookie
This commit is contained in:
parent
fed06cd155
commit
961c60a183
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ fun Application.moduleWithDependencies(
|
|||
}
|
||||
cookie.httpOnly = true
|
||||
cookie.secure = true
|
||||
cookie.extensions["SameSite"] = "Strict"
|
||||
}
|
||||
}
|
||||
install(ContentNegotiation) {
|
||||
|
|
Loading…
Reference in a new issue