Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function showResetForm(Request $request, $encryptedToken) |
||
|
|||
15 | { |
||
16 | $user = $this->getUserFromEncryptedToken($encryptedToken); |
||
17 | |||
18 | if ($user === false) { |
||
19 | return redirect()->route('cms.password.forgot')->with('invalidResetToken', true); |
||
20 | } |
||
21 | |||
22 | return view('cms::auth.reset-password', compact('encryptedToken', 'user')); |
||
23 | } |
||
24 | |||
54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.