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(
|
ResponseCookie(
|
||||||
name = authcookieName,
|
name = authcookieName,
|
||||||
content = newSessionId.toString(),
|
content = newSessionId.toString(),
|
||||||
secure = true
|
secure = false
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ object Auth {
|
||||||
ResponseCookie(
|
ResponseCookie(
|
||||||
name = authcookieName,
|
name = authcookieName,
|
||||||
content = "",
|
content = "",
|
||||||
secure = true
|
secure = false // TODO make true after enabling https
|
||||||
).clearCookie
|
).clearCookie
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue