mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added shared server support for admin users. Fixes #4979
This commit is contained in:
committed by
Akshay Joshi
parent
3e35dc95e5
commit
b562ab7681
@@ -44,6 +44,7 @@ define('pgadmin.browser.utils',
|
||||
|
||||
pgAdmin['csrf_token_header'] = '{{ current_app.config.get('WTF_CSRF_HEADERS')[0] }}';
|
||||
pgAdmin['csrf_token'] = '{{ csrf_token() }}';
|
||||
pgAdmin['server_mode'] = '{{ current_app.config.get('SERVER_MODE') }}';
|
||||
|
||||
/* Get the inactivity related config */
|
||||
pgAdmin['user_inactivity_timeout'] = {{ current_app.config.get('USER_INACTIVITY_TIMEOUT') }};
|
||||
|
||||
Reference in New Issue
Block a user