mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-23 23:13:38 -06:00
Ensure that the correct value should be returned if an exception occurs while decoding the password. #5367
This commit is contained in:
parent
bedfad002d
commit
869b90121c
@ -39,4 +39,5 @@ Bug fixes
|
|||||||
| `Issue #5327 <https://github.com/pgadmin-org/pgadmin4/issues/5327>`_ - Fixed an issue where user was unable to select privileges in Safari.
|
| `Issue #5327 <https://github.com/pgadmin-org/pgadmin4/issues/5327>`_ - Fixed an issue where user was unable to select privileges in Safari.
|
||||||
| `Issue #5338 <https://github.com/pgadmin-org/pgadmin4/issues/5338>`_ - Fixed an issue where the prompt is not visible when clicking on the 'save results to file' button on the large data.
|
| `Issue #5338 <https://github.com/pgadmin-org/pgadmin4/issues/5338>`_ - Fixed an issue where the prompt is not visible when clicking on the 'save results to file' button on the large data.
|
||||||
| `Issue #5352 <https://github.com/pgadmin-org/pgadmin4/issues/5352>`_ - Fixed error occurring while LDAP authentication for a user with multiple email attributes.
|
| `Issue #5352 <https://github.com/pgadmin-org/pgadmin4/issues/5352>`_ - Fixed error occurring while LDAP authentication for a user with multiple email attributes.
|
||||||
|
| `Issue #5367 <https://github.com/pgadmin-org/pgadmin4/issues/5367>`_ - Ensure that the correct value should be returned if an exception occurs while decoding the password.
|
||||||
| `Issue #5368 <https://github.com/pgadmin-org/pgadmin4/issues/5368>`_ - Fixed the issue while downloading the file from the file manager.
|
| `Issue #5368 <https://github.com/pgadmin-org/pgadmin4/issues/5368>`_ - Fixed the issue while downloading the file from the file manager.
|
||||||
|
@ -244,7 +244,7 @@ class Connection(BaseConnection):
|
|||||||
return True, \
|
return True, \
|
||||||
_(
|
_(
|
||||||
"Failed to decrypt the saved password.\nError: {0}"
|
"Failed to decrypt the saved password.\nError: {0}"
|
||||||
).format(str(e))
|
).format(str(e)), password
|
||||||
return False, '', password
|
return False, '', password
|
||||||
|
|
||||||
def connect(self, **kwargs):
|
def connect(self, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user