ResetPasswordController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace MedianetDev\LaravelAuthApi\Http\Controllers;
4
5
use MedianetDev\LaravelAuthApi\Http\Controllers\Traits\ResetsPasswords;
6
7
class ResetPasswordController extends Controller
8
{
9
    /*
10
    |--------------------------------------------------------------------------
11
    | Password Reset Controller
12
    |--------------------------------------------------------------------------
13
    |
14
    | This controller is responsible for handling password reset requests
15
    | and uses a simple trait to include this behavior. You're free to
16
    | explore this trait and override any methods you wish to tweak.
17
    |
18
    */
19
20
    use ResetsPasswords;
21
22
    /**
23
     * Where to redirect users after resetting their password.
24
     *
25
     * @var string
26
     */
27
    protected $redirectTo = '/home';
28
29
    /**
30
     * Create a new controller instance.
31
     *
32
     * @return void
33
     */
34
    public function __construct()
35
    {
36
        $this->middleware('guest');
37
    }
38
}
39