ResetsPasswords : getSendResetLinkEmailSuccessResponse getSendResetLinkEmailFailureResponse, reset, , reset .
A good reason for the change is that (as in my case) you want to return the user to the main login screen after sending the reset password.
To do this, simply modify App\Http\Controllers\Auth\PasswordControllerand override the function, for example:
protected function getSendResetLinkEmailSuccessResponse($response)
{
return redirect()->route('login')->with('status', trans($response));
}
source
share