ConfirmPasswordController.php 965 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace App\Http\Controllers\Auth;
  3. use App\Http\Controllers\Controller;
  4. use Illuminate\Foundation\Auth\ConfirmsPasswords;
  5. class ConfirmPasswordController extends Controller
  6. {
  7. /*
  8. |--------------------------------------------------------------------------
  9. | Confirm Password Controller
  10. |--------------------------------------------------------------------------
  11. |
  12. | This controller is responsible for handling password confirmations and
  13. | uses a simple trait to include the behavior. You're free to explore
  14. | this trait and override any functions that require customization.
  15. |
  16. */
  17. use ConfirmsPasswords;
  18. /**
  19. * Where to redirect users when the intended url fails.
  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('auth');
  32. }
  33. }