summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/htserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/htserver.py b/kvmd/htserver.py
index df5a3123..2974feed 100644
--- a/kvmd/htserver.py
+++ b/kvmd/htserver.py
@@ -167,7 +167,7 @@ def make_json_response(
)
if set_cookies:
for (key, value) in set_cookies.items():
- response.set_cookie(key, value)
+ response.set_cookie(key, value, httponly=True, samesite="Strict")
return response