mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-10 12:01:36 +00:00
Ugh, path
This commit is contained in:
1 parent
8edb385728
commit
362e18b7d0
1 file changed
+1
+1
@@ -9,6 +9,7 @@ pub fn build_design_refresh_cookie(server_state: &ServerState, enable: bool) ->
|
||||
Cookie::build(REFRESH_COOKIE_NAME, value)
|
||||
.domain(&server_state.env_config.cookie_domain)
|
||||
.secure(server_state.env_config.cookie_secure) // HTTPS-only
|
||||
.path("/")
|
||||
.http_only(false) // This is meant to be exposed to Javascript!
|
||||
.permanent()
|
||||
}
|
||||
Reference in new issue
Block a user