bug: secure cookie is not allowed without https

and mvp deployment without tls, so it doesn't work
This commit is contained in:
efim 2023-04-30 00:58:24 +04:00
parent 65879e092a
commit bbabeb6c14
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ object Auth {
ResponseCookie(
name = authcookieName,
content = newSessionId.toString(),
secure = true
secure = false
)
)
}
@ -74,7 +74,7 @@ object Auth {
ResponseCookie(
name = authcookieName,
content = "",
secure = true
secure = false // TODO make true after enabling https
).clearCookie
)
}