Test Setup Failed
Push — master ( 6863da...811519 )
by guillaume
27:05 queued 21:33
created

ConfirmPasswordController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 30
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
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
}
41