mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Use lowercase password
This commit is contained in:
@@ -107,7 +107,7 @@ def create_listener_connection():
|
|||||||
|
|
||||||
# Allow password-less authentication
|
# Allow password-less authentication
|
||||||
if 'PASSWORD' in conf:
|
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']}"
|
connection_data = f"dbname={conf['NAME']} host={conf['HOST']} user={conf['USER']} port={conf['PORT']}"
|
||||||
return psycopg.connect(connection_data, autocommit=True, **conf['OPTIONS'])
|
return psycopg.connect(connection_data, autocommit=True, **conf['OPTIONS'])
|
||||||
|
|||||||
Reference in New Issue
Block a user