Ensure user gets proper error if incorrect credentials are entered while authenticating AWS. #6406

This commit is contained in:
Yogesh Mahajan 2023-07-20 16:56:17 +05:30 committed by GitHub
parent dab5e592e2
commit 39d70a94a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)