{
"email": "mohamed.raafat@eng.suez.edu.eg",
"password": "123456"
}
200 ok for successful login
401 Incorrect email or password for invalid credentials
401 Missing credentials for missing email or password
{
"email": "mohamed.raafat@eng.suez.edu.eg"
}
200 Reset link sent if the user exist in the database
400 user not found if the user doesn't exist
{
"password": "123456",
"confpassword": "123456"
}
401 token is requred if the token is not provided in the url
401 password and confirm password must match
498 Invalid token if the token is altered
200 Password updated if all is good