So, I have users table which is default by laravel. But I add a new column named \'status\'. So the columns on the users table are id, name, email, password, remember_token
You can override the authenticated() method in App\Http\Controllers\Auth\LoginController to add logic after the user is authenticated:
authenticated()
App\Http\Controllers\Auth\LoginController
protected function authenticated($request,$user) { if(\Auth::user()->status){ return redirect('/admin'); } return redirect('/home'); }