mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Use lowercase password
This commit is contained in:
parent
e84e2962d0
commit
20202054cc
@ -107,7 +107,7 @@ def create_listener_connection():
|
||||
|
||||
# Allow password-less authentication
|
||||
if 'PASSWORD' in conf:
|
||||
conf['OPTIONS']['PASSWORD'] = conf.pop('PASSWORD')
|
||||
conf['OPTIONS']['password'] = conf.pop('PASSWORD')
|
||||
|
||||
connection_data = f"dbname={conf['NAME']} host={conf['HOST']} user={conf['USER']} port={conf['PORT']}"
|
||||
return psycopg.connect(connection_data, autocommit=True, **conf['OPTIONS'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user