Closed kakapiciu closed 4 years ago
Where does the API return this message: Password reset mail has been successfully sent!
?
When a user submits a reset password request, the API responds with:
200
if:
Api\App\Common\Message::MAIL_SENT_RESET_PASSWORD
)400
, the error message coming from:
500
: internal server errorAn improvement could be made here, though: in the messages returned we should replace the word email
with identity
.
the API must return all the time
200 OK
even if the email was not found .
and the message should be :
Instead of:
Password reset mail has been successfully sent!
should be:
If there is an account associated with the email example@email.com, an email containing password recovery instructions was sent to it.