mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where PSQL tool prompts for password if using password exec command. #6247
This commit is contained in:
parent
b1eba4fc4c
commit
bfa859e9ce
@ -543,6 +543,9 @@ WHERE db.oid = {0}""".format(did))
|
|||||||
password = self.password
|
password = self.password
|
||||||
|
|
||||||
os.environ[str(env)] = password
|
os.environ[str(env)] = password
|
||||||
|
elif self.passexec:
|
||||||
|
password = self.passexec.get()
|
||||||
|
os.environ[str(env)] = password
|
||||||
|
|
||||||
def create_ssh_tunnel(self, tunnel_password):
|
def create_ssh_tunnel(self, tunnel_password):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user