Add 'secure' attribute to session cookies

This commit is contained in:
Matthew Wild
2024-04-29 11:08:30 +01:00
parent b99cae84de
commit 67c94bb045

View File

@@ -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(