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