mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure user gets proper error if incorrect credentials are entered while authenticating AWS. #6406
This commit is contained in:
parent
dab5e592e2
commit
39d70a94a6
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user