Closed Agnul97 closed 2 months ago
Attention: Patch coverage is 0%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 16.78%. Comparing base (
901f997
) to head (f05a671
). Report is 2 commits behind head on develop.
Before this PR, these 2 behaviors were in place:
authenticationCode
as an empty String, we are throwing an Internal error which results in a HTTP 500 response.Description of the solution adopted I changed the first behaviour returning a MfaRequiredException and the second one an IncorrectCredentialsException, which is an example of AuthenticationException, the same exception that we throw when we provide wrong username & pw for a user login attempt
Any side note on the changes made Description of any other change that has been made, which is not directly linked to the issue resolution [e.g. Code clean up/Sonar issue resolution]