laravel force logout user code example
Example: laravel force user logout
if (!Auth::user()->isActive()) {
Auth::logout();
return Redirect::home();
}
if (!Auth::user()->isActive()) {
Auth::logout();
return Redirect::home();
}