diff options
| author | dev | 2026-06-27 05:34:00 +0200 |
|---|---|---|
| committer | dev | 2026-06-27 05:34:00 +0200 |
| commit | b608ced142cd0527906b554e04376292f718f084 (patch) | |
| tree | 6f6937b35b902db3f0bca6476000dd61e3fcc85d /ssh/app/Http/Controllers/Auth/ConfirmPasswordController.php | |
| parent | 0fe83c7f76b2fd6ce79541a71cdde5ec0b12becf (diff) | |
| parent | 043dd3ed90cac67975996bd881a997f38679bacd (diff) | |
| download | curious-b608ced142cd0527906b554e04376292f718f084.tar.gz | |
Merged cinema into mostdiscussed.com
Diffstat (limited to 'ssh/app/Http/Controllers/Auth/ConfirmPasswordController.php')
| -rw-r--r-- | ssh/app/Http/Controllers/Auth/ConfirmPasswordController.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ssh/app/Http/Controllers/Auth/ConfirmPasswordController.php b/ssh/app/Http/Controllers/Auth/ConfirmPasswordController.php new file mode 100644 index 0000000..138c1f0 --- /dev/null +++ b/ssh/app/Http/Controllers/Auth/ConfirmPasswordController.php @@ -0,0 +1,40 @@ +<?php + +namespace App\Http\Controllers\Auth; + +use App\Http\Controllers\Controller; +use App\Providers\RouteServiceProvider; +use Illuminate\Foundation\Auth\ConfirmsPasswords; + +class ConfirmPasswordController extends Controller +{ + /* + |-------------------------------------------------------------------------- + | Confirm Password Controller + |-------------------------------------------------------------------------- + | + | This controller is responsible for handling password confirmations and + | uses a simple trait to include the behavior. You're free to explore + | this trait and override any functions that require customization. + | + */ + + use ConfirmsPasswords; + + /** + * Where to redirect users when the intended url fails. + * + * @var string + */ + protected $redirectTo = RouteServiceProvider::HOME; + + /** + * Create a new controller instance. + * + * @return void + */ + public function __construct() + { + $this->middleware('auth'); + } +} |
