ResetPasswordController.php 844 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace App\Http\Controllers\Auth;
  3. use App\Http\Controllers\Controller;
  4. use App\Providers\RouteServiceProvider;
  5. use Illuminate\Foundation\Auth\ResetsPasswords;
  6. class ResetPasswordController extends Controller
  7. {
  8. /*
  9. |--------------------------------------------------------------------------
  10. | Password Reset Controller
  11. |--------------------------------------------------------------------------
  12. |
  13. | This controller is responsible for handling password reset requests
  14. | and uses a simple trait to include this behavior. You're free to
  15. | explore this trait and override any methods you wish to tweak.
  16. |
  17. */
  18. use ResetsPasswords;
  19. /**
  20. * Where to redirect users after resetting their password.
  21. *
  22. * @var string
  23. */
  24. protected $redirectTo = RouteServiceProvider::HOME;
  25. }