mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-09-03 20:52:57 -05:00
Fix SSH tunnel password decryption. Fixes #4320
This commit is contained in:
committed by
Dave Page
parent
c69ffaa91c
commit
0d42f8026c
@@ -348,7 +348,9 @@ WHERE db.oid = {0}""".format(did))
|
|||||||
# Check SSH Tunnel needs to be created
|
# Check SSH Tunnel needs to be created
|
||||||
if self.use_ssh_tunnel == 1 and \
|
if self.use_ssh_tunnel == 1 and \
|
||||||
not self.tunnel_created:
|
not self.tunnel_created:
|
||||||
status, error = self.create_ssh_tunnel()
|
status, error = self.create_ssh_tunnel(
|
||||||
|
self.tunnel_password
|
||||||
|
)
|
||||||
|
|
||||||
# Check SSH Tunnel is alive or not.
|
# Check SSH Tunnel is alive or not.
|
||||||
self.check_ssh_tunnel_alive()
|
self.check_ssh_tunnel_alive()
|
||||||
|
|||||||
Reference in New Issue
Block a user