My beer compendium
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.0 KiB

3 years ago
  1. <?php
  2. namespace App\Http\Controllers\Auth;
  3. use App\Http\Controllers\Controller;
  4. use App\Providers\RouteServiceProvider;
  5. use Illuminate\Foundation\Auth\ConfirmsPasswords;
  6. class ConfirmPasswordController extends Controller
  7. {
  8. /*
  9. |--------------------------------------------------------------------------
  10. | Confirm Password Controller
  11. |--------------------------------------------------------------------------
  12. |
  13. | This controller is responsible for handling password confirmations and
  14. | uses a simple trait to include the behavior. You're free to explore
  15. | this trait and override any functions that require customization.
  16. |
  17. */
  18. use ConfirmsPasswords;
  19. /**
  20. * Where to redirect users when the intended url fails.
  21. *
  22. * @var string
  23. */
  24. protected $redirectTo = RouteServiceProvider::HOME;
  25. /**
  26. * Create a new controller instance.
  27. *
  28. * @return void
  29. */
  30. public function __construct()
  31. {
  32. $this->middleware('auth');
  33. }
  34. }