force logout in laravel 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();
}