Sin descripción

ResetPasswordController.php 952B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace App\Http\Controllers\Auth;
  3. use App\Http\Controllers\Controller;
  4. use Illuminate\Foundation\Auth\ResetsPasswords;
  5. class ResetPasswordController extends Controller
  6. {
  7. /*
  8. |--------------------------------------------------------------------------
  9. | Password Reset Controller
  10. |--------------------------------------------------------------------------
  11. |
  12. | This controller is responsible for handling password reset requests
  13. | and uses a simple trait to include this behavior. You're free to
  14. | explore this trait and override any methods you wish to tweak.
  15. |
  16. */
  17. use ResetsPasswords;
  18. /**
  19. * Where to redirect users after resetting their password.
  20. *
  21. * @var string
  22. */
  23. protected $redirectTo = '/home';
  24. /**
  25. * Create a new controller instance.
  26. *
  27. * @return void
  28. */
  29. public function __construct()
  30. {
  31. $this->middleware('guest');
  32. }
  33. }