| Total Complexity | 1 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ResetPasswordController extends Controller |
||
| 11 | { |
||
| 12 | /* |
||
| 13 | |-------------------------------------------------------------------------- |
||
| 14 | | Password Reset Controller |
||
| 15 | |-------------------------------------------------------------------------- |
||
| 16 | | |
||
| 17 | | This controller is responsible for handling password reset requests |
||
| 18 | | and uses a simple trait to include this behavior. You're free to |
||
| 19 | | explore this trait and override any methods you wish to tweak. |
||
| 20 | | |
||
| 21 | */ |
||
| 22 | |||
| 23 | use ResetsPasswords; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Where to redirect users after resetting their password. |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $redirectTo = AdmineticServiceProvider::HOME; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Display the password reset view for the given token. |
||
| 34 | * |
||
| 35 | * If no token is present, display the link request form. |
||
| 36 | * |
||
| 37 | * @param \Illuminate\Http\Request $request |
||
| 38 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
| 39 | */ |
||
| 40 | public function showResetForm(Request $request) |
||
| 49 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths