source: app/Http/Controllers/Auth/ConfirmPasswordController.php@ dfae77e

Last change on this file since dfae77e was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 22 months ago
  • Initial commit;
  • Property mode set to 100644
File size: 1.0 KB
Line 
1<?php
2
3namespace App\Http\Controllers\Auth;
4
5use App\Http\Controllers\Controller;
6use App\Providers\RouteServiceProvider;
7use Illuminate\Foundation\Auth\ConfirmsPasswords;
8
9class 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.