aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/Cookie.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/Cookie.hs b/server/src/Cookie.hs
index f79a1fa..00d73f2 100644
--- a/server/src/Cookie.hs
+++ b/server/src/Cookie.hs
@@ -34,6 +34,7 @@ makeSimpleCookie conf name value =
, setCookieValue = TS.encodeUtf8 value
, setCookiePath = Just $ TS.encodeUtf8 "/"
, setCookieSecure = Conf.https conf
+ , setCookieHttpOnly = True
}
setCookie :: (Monad m) => SetCookie -> ActionT e m ()