mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-21 16:27:39 -06:00
Ensure pgadmin does not try to connect to the server if saved password is not available. #7679
This commit is contained in:
parent
30051f3257
commit
e028ebc152
@ -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']\
|
||||
|
Loading…
Reference in New Issue
Block a user