From e911b3e4a6b32f56577a30de3780670bbc21a2f6 Mon Sep 17 00:00:00 2001 From: yogeshmahajan-1903 Date: Thu, 9 Nov 2023 10:17:43 +0530 Subject: [PATCH] Delete the password field in the database on clear passoword.#6934 --- web/pgadmin/browser/server_groups/servers/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/browser/server_groups/servers/__init__.py b/web/pgadmin/browser/server_groups/servers/__init__.py index 0b2c23b1ce5..4dca9485054 100644 --- a/web/pgadmin/browser/server_groups/servers/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/__init__.py @@ -2128,9 +2128,9 @@ def clear_saved_password(self, gid, sid): if config.DISABLED_LOCAL_PASSWORD_STORAGE: if server.shared and server.user_id != current_user.id: - setattr(shared_server, 'save_password', None) + setattr(shared_server, 'password', None) else: - setattr(server, 'save_password', None) + setattr(server, 'password', None) else: try: server_name = KEY_RING_USERNAME_FORMAT.format(server.name,