mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where the edit server fails in desktop mode if the server password is not stored. #6489
This commit is contained in:
parent
d98ce3864f
commit
d3753ee132
@ -868,7 +868,8 @@ class ServerNode(PGChildNodeView):
|
||||
|
||||
try:
|
||||
if len(old_server_name) and old_server_name != server.name and \
|
||||
not config.DISABLED_LOCAL_PASSWORD_STORAGE:
|
||||
not config.DISABLED_LOCAL_PASSWORD_STORAGE and \
|
||||
server.save_password:
|
||||
# If server name is changed then update keyring with
|
||||
# new server name
|
||||
password = keyring.get_password(
|
||||
|
Loading…
Reference in New Issue
Block a user