Skip to content

Commit

Permalink
Ensure user gets proper error if incorrect credentials are entered wh…
Browse files Browse the repository at this point in the history
…ile authenticating AWS. #6406
  • Loading branch information
yogeshmahajan-1903 authored Jul 20, 2023
1 parent dab5e59 commit 39d70a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/pgadmin/misc/cloud/rds/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ def verify_credentials():
if status:
session['aws']['secret'] = data['secret']
session['aws']['aws_rds_obj'] = pickle.dumps(_rds, -1)

if status:
msg = 'verified'
msg = 'verified'
else:
msg = identity

return make_json_response(success=status, info=msg)

Expand Down

0 comments on commit 39d70a9

Please sign in to comment.