dpgaspar commented on code in PR #24256:
URL: https://github.com/apache/superset/pull/24256#discussion_r1211977994


##########
superset/config.py:
##########
@@ -1387,6 +1387,8 @@ def EMAIL_HEADER_MUTATOR(  # pylint: 
disable=invalid-name,unused-argument
 SESSION_COOKIE_HTTPONLY = True  # Prevent cookie from being read by frontend 
JS?
 SESSION_COOKIE_SECURE = False  # Prevent cookie from being transmitted over 
non-tls?
 SESSION_COOKIE_SAMESITE: Optional[Literal["None", "Lax", "Strict"]] = "Lax"
+# Accepts None, "basic" and "strong", more details on: 
https://flask-login.readthedocs.io/en/latest/#session-protection
+SESSION_PROTECTION = "strong"

Review Comment:
   I think so, more is better then less



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to