<?phpnamespaceApp\Http\Controllers\Auth;useApp\Http\Controllers\Controller;useIlluminate\Foundation\Auth\ResetsPasswords;classResetPasswordControllerextendsController{/* |-------------------------------------------------------------------------- | Password Reset Controller |-------------------------------------------------------------------------- | | This controller is responsible for handling password reset requests | and uses a simple trait to include this behavior. You're free to | explore this trait and override any methods you wish to tweak. | */useResetsPasswords;/** * Where to redirect users after resetting their password. * * @var string */protected$redirectTo='/home';/** * Create a new controller instance. * * @return void */publicfunction__construct(){$this->middleware('guest');}}