crocodic-studio/crudbooster

View on GitHub
src/controllers/AdminController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method postLogin has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function postLogin()
    {

        $validator = Validator::make(Request::all(), [
            'email' => 'required|email|exists:'.config('crudbooster.USER_TABLE'),
Severity: Minor
Found in src/controllers/AdminController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status