mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
SESSION_SKIP_PATHS should be set before we load local or distro config files.
This commit is contained in:
parent
213cb440d0
commit
58ef723476
@ -365,6 +365,13 @@ COOKIE_DEFAULT_DOMAIN = None
|
||||
SESSION_COOKIE_DOMAIN = None
|
||||
SESSION_COOKIE_SAMESITE = 'Lax'
|
||||
|
||||
#########################################################################
|
||||
# Skip storing session in files and cache for specific paths
|
||||
#########################################################################
|
||||
SESSION_SKIP_PATHS = [
|
||||
'/misc/ping'
|
||||
]
|
||||
|
||||
##########################################################################
|
||||
# SSH Tunneling supports only for Python 2.7 and 3.4+
|
||||
##########################################################################
|
||||
@ -393,10 +400,3 @@ if (SUPPORT_SSH_TUNNEL is True and
|
||||
(sys.version_info[0] == 3 and sys.version_info[1] < 4))):
|
||||
SUPPORT_SSH_TUNNEL = False
|
||||
|
||||
|
||||
#########################################################################
|
||||
# Skip storing session in files and cache for specific paths
|
||||
#########################################################################
|
||||
SESSION_SKIP_PATHS = [
|
||||
'/misc/ping'
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user