mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue related to the query tool update connection after the server disconnected from the object explorer. #7865
This commit is contained in:
@@ -233,7 +233,10 @@ class Connection(BaseConnection):
|
||||
kwargs.pop('password')
|
||||
is_update_password = False
|
||||
else:
|
||||
encpass = kwargs['password'] if 'password' in kwargs else None
|
||||
if 'encpass' in kwargs:
|
||||
encpass = kwargs['encpass']
|
||||
else:
|
||||
encpass = kwargs['password'] if 'password' in kwargs else None
|
||||
|
||||
return password, encpass, is_update_password
|
||||
|
||||
|
||||
Reference in New Issue
Block a user