Skip to content

Commit

Permalink
Merge pull request #186 from snikket-im/cookie-secure-attribute
Browse files Browse the repository at this point in the history
Add 'secure' attribute to session cookies
  • Loading branch information
mwild1 authored Apr 29, 2024
2 parents f4c1173 + 67c94bb commit a8c6b1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snikket_web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def create_app() -> quart.Quart:
app.config["PRIVACY_URI"] = config.privacy_uri
app.config["ABUSE_EMAIL"] = config.abuse_email
app.config["SECURITY_EMAIL"] = config.security_email
app.config["SESSION_COOKIE_SECURE"] = True

app.context_processor(proc)
app.register_error_handler(
Expand Down

0 comments on commit a8c6b1a

Please sign in to comment.