Route::post('password/email', 'Auth\ForgotPasswordController@getResetToken');
Route::post('password/reset', 'Auth\ResetPasswordController@reset');
You may see the details of the controller here
protocol:://domain/password/email
Accept application/json
POST
email [your-email-address]
{
"data": {
"token": "770f6138f62a5da086881a4bf8799e7d7fc3fc60d30e6f35ad58e4f9496fd597"
},
"message": ""
}
You may see the controller details here
protocol:://domain/password/reset
Accept application/json
POST
email [your-email-address]
password [new-password]
password_confirmation [retype-new-password]
token [the-token-you-get-from-previous-one]
{
"data": null,
"message": "Your password has been reset!"
}
Excelent! thanks 4 helping us !!!
one question.. from the ForgotPasswordController you are retrieving a token - so i need to send the email from my app.. right?
there is any way to laravel app send the email with the token ?!
thanks in advance !