Total Complexity | 3 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class AuthController extends Controller |
||
10 | { |
||
11 | use AuthenticatesUsers; |
||
|
|||
12 | |||
13 | /** |
||
14 | * @var Request |
||
15 | */ |
||
16 | protected $request; |
||
17 | |||
18 | /** |
||
19 | * The maximum number of attempts to allow. |
||
20 | * @var int |
||
21 | */ |
||
22 | protected $maxAttempts = 5; |
||
23 | |||
24 | /** |
||
25 | * Number of minutes to throttle for. |
||
26 | * |
||
27 | * @var int |
||
28 | */ |
||
29 | protected $decayMinutes = 3; |
||
30 | |||
31 | /** |
||
32 | * Create a new controller instance. |
||
33 | * |
||
34 | * @param \Illuminate\Http\Request $request |
||
35 | * @return void |
||
36 | */ |
||
37 | public function __construct(Request $request) |
||
38 | { |
||
39 | $this->request = $request; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Get the login username to be used by the controller. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function username() |
||
56 | } |
||
57 | } |