In order to use custom authentication you can add all custom authentication by overriding the authenticated() method in the illuminate\foundation\auth\AuthenticatesUsers.php

 

Create the custom function in your LoginController.php

This checks to see if the user is active:

public function authenticated(\Illuminate\Http\Request $request)

    {   

 

        if (Auth::attempt(['email' => $request->email, 'password' => $request->password, 'active' => 1])) {

            // Authentication passed...

            echo 'yes';

            //return redirect()->intended('/here');

        }else{

            echo 'no';

        }

     }