mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added support for OAuth 2 authentication. Fixes #5940
Initial patch sent by: Florian Sabonchi
This commit is contained in:
committed by
Akshay Joshi
parent
fff4060b31
commit
48ca83f31d
@@ -280,7 +280,7 @@ class BatchProcess(object):
|
||||
env['OUTDIR'] = self.log_dir
|
||||
env['PGA_BGP_FOREGROUND'] = "1"
|
||||
if config.SERVER_MODE and session and \
|
||||
session['_auth_source_manager_obj']['current_source'] == \
|
||||
session['auth_source_manager']['current_source'] == \
|
||||
KERBEROS:
|
||||
env['KRB5CCNAME'] = session['KRB5CCNAME']
|
||||
|
||||
|
Reference in New Issue
Block a user