🔒️ Set remember_me cookie http only

This commit is contained in:
Gina Häußge committed 2022-05-10 20:56:48 +02:00
1 parent 53dbde2ef9
commit 700034d028
1 file changed
+1
+1
View File
@@ -1352,6 +1352,7 @@ class Server:
app.config["TEMPLATES_AUTO_RELOAD"] = True
app.config["JSONIFY_PRETTYPRINT_REGULAR"] = False
app.config["REMEMBER_COOKIE_HTTPONLY"] = True
# we must not set this before TEMPLATES_AUTO_RELOAD is set to True or that won't take
app.debug = self._debug