acct_type !== UserTypes::SUPER_ADMIN) { throw new UnauthorizedHttpException('', 'Unauthorized: Only ultimate users allowed.'); } return $next($request); } }