bug: secure cookie is not allowed without https
and mvp deployment without tls, so it doesn't work
This commit is contained in:
parent
65879e092a
commit
bbabeb6c14
|
@ -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
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue