mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-05 18:57:03 -05:00
Set SESSION_COOKIE_SAMESITE='Lax' per Flask recommendation to prevents sending cookies with CSRF-prone requests from external sites, such as submitting a form. Fixes #3342
This commit is contained in:
committed by
Dave Page
parent
5b86a67a41
commit
a68dac97c4
@@ -362,6 +362,7 @@ SHOW_GRAVATAR_IMAGE = True
|
||||
COOKIE_DEFAULT_PATH = '/'
|
||||
COOKIE_DEFAULT_DOMAIN = None
|
||||
SESSION_COOKIE_DOMAIN = None
|
||||
SESSION_COOKIE_SAMESITE = 'Lax'
|
||||
|
||||
##########################################################################
|
||||
# Local config settings
|
||||
|
||||
Reference in New Issue
Block a user