Completed
Push — master ( 58b661...a53837 )
by Francesco
09:22
created

ResetPasswordController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Importance

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

1 Method

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