Last change
on this file since dfae77e was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago |
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[dfae77e] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | namespace App\Http\Controllers\Auth;
|
---|
| 4 |
|
---|
| 5 | use App\Http\Controllers\Controller;
|
---|
| 6 | use App\Providers\RouteServiceProvider;
|
---|
| 7 | use Illuminate\Foundation\Auth\ConfirmsPasswords;
|
---|
| 8 |
|
---|
| 9 | class ConfirmPasswordController extends Controller
|
---|
| 10 | {
|
---|
| 11 | /*
|
---|
| 12 | |--------------------------------------------------------------------------
|
---|
| 13 | | Confirm Password Controller
|
---|
| 14 | |--------------------------------------------------------------------------
|
---|
| 15 | |
|
---|
| 16 | | This controller is responsible for handling password confirmations and
|
---|
| 17 | | uses a simple trait to include the behavior. You're free to explore
|
---|
| 18 | | this trait and override any functions that require customization.
|
---|
| 19 | |
|
---|
| 20 | */
|
---|
| 21 |
|
---|
| 22 | use ConfirmsPasswords;
|
---|
| 23 |
|
---|
| 24 | /**
|
---|
| 25 | * Where to redirect users when the intended url fails.
|
---|
| 26 | *
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | protected $redirectTo = RouteServiceProvider::HOME;
|
---|
| 30 |
|
---|
| 31 | /**
|
---|
| 32 | * Create a new controller instance.
|
---|
| 33 | *
|
---|
| 34 | * @return void
|
---|
| 35 | */
|
---|
| 36 | public function __construct()
|
---|
| 37 | {
|
---|
| 38 | $this->middleware('auth');
|
---|
| 39 | }
|
---|
| 40 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.