Fixed SSH Tunnel save password issue.

This commit is contained in:
Akshay Joshi
2023-06-05 15:13:15 +05:30
parent 4bddb5c36c
commit c69315bb43

View File

@@ -1494,7 +1494,7 @@ class ServerNode(PGChildNodeView):
KEY_RING_SERVICE_NAME,
KEY_RING_TUNNEL_FORMAT.format(server.name,
server.id))
prompt_tunnel_password = bool(tunnel_password)
prompt_tunnel_password = not bool(tunnel_password)
else:
tunnel_password = server.tunnel_password
else: