Laravel how to 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();
}