Skip to content

Commit

Permalink
Delete the password field in the database on clear passoword.pgadmin-…
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshmahajan-1903 committed Nov 9, 2023
1 parent ef0b30b commit e911b3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/pgadmin/browser/server_groups/servers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e911b3e

Please sign in to comment.