Skip to content

Commit

Permalink
🔒️ Set remember_me cookie http only
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed May 10, 2022
1 parent 53dbde2 commit 700034d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/octoprint/server/__init__.py
Expand Up @@ -1352,6 +1352,7 @@ def _setup_app(self, app):

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
Expand Down

0 comments on commit 700034d

Please sign in to comment.