From e028ebc152cb1dc641a2b88c1a118f74d0f91e12 Mon Sep 17 00:00:00 2001 From: Yogesh Mahajan Date: Tue, 16 Jul 2024 17:46:40 +0530 Subject: [PATCH] Ensure pgadmin does not try to connect to the server if saved password is not available. #7679 --- web/pgadmin/browser/server_groups/servers/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web/pgadmin/browser/server_groups/servers/__init__.py b/web/pgadmin/browser/server_groups/servers/__init__.py index be170db0e..f5534076b 100644 --- a/web/pgadmin/browser/server_groups/servers/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/__init__.py @@ -1616,6 +1616,7 @@ class ServerNode(PGChildNodeView): KEY_RING_SERVICE_NAME, KEY_RING_USERNAME_FORMAT.format(server.name, server.id)) + prompt_password = True if password is None else False else: password = data['password'] if 'password' in data else None save_password = data['save_password']\