Recover Password

If a user forgets the password of the account there is the option of changing the password. To change the password the user should be on the login page and the button Forgot password.

The user should provide the email for the account and then an email is sent that helps the user to reset the password.

The App\Http\Controllers\ForgotPasswordController and the App\Http\Controllers\ResetPasswordController handles the reset of the password.

                    use Illuminate\Foundation\Auth\ResetsPasswords;
                    use ResetsPasswords;
                    protected $redirectTo = RouteServiceProvider::HOME;

After the email has been sent, the user can create a new password by filling in the form with email, password and confirm password fields.