Route [password.reset] not defined in laravel 5.4 in ResetPasswords.php
those routes need a name.
Here the code..
// Password reset link request routes...
Route::get('password/email', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.email');
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail');
// Password reset routes...
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.request');
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
In the laravel 5.4 sendResetLink
has only one parameter credentials
So you have to change your method implementation to this:
$response = $this->passwords->sendResetLink($request->only('email'));
Then you have to put callback to User
model (or what exactly you have) that has
trait CanResetPassword
This model must have method:
public function sendPasswordResetNotification($token) {
// do your callback here
}