published) { Auth::logout(); return redirect()->route('bo.login')->with('warning', trans('auth.unpublished_user')); } return $next($request); } }