Steps to reproduce the issue:
- Local dev environment must be running
- From Postman sending the following request to the given endpoint(test data -> email: #&@bnm, password: helloworld)
Expected Result:
"message" : "Invalid e-mail address"
Actual Result:
"message": "The password must be at least 10 characters, must contain numeric characters, minimum 1 uppercase letter [A-Z] and minimum 1 special character"
Note: I assume the 'Invalid e-mail address' is the expected behavior here, but occasionally it returns the password validation error message.
Update: I tried with a valid password and I got only the invalid e-mail address error message. As a result so I would say the validation order is different between the password and the email..
Please find the attachment
