diff --git a/auth/src/main/java/com/alibaba/nacos/auth/config/AuthConfigs.java b/auth/src/main/java/com/alibaba/nacos/auth/config/AuthConfigs.java index aae3e167685..e19caa21aa1 100644 --- a/auth/src/main/java/com/alibaba/nacos/auth/config/AuthConfigs.java +++ b/auth/src/main/java/com/alibaba/nacos/auth/config/AuthConfigs.java @@ -92,7 +92,7 @@ public AuthConfigs() { */ @PostConstruct public void validate() throws NacosException { - if (!authEnabled || EnvUtil.getStandaloneMode()) { + if (!authEnabled) { return; } if (StringUtils.isEmpty(nacosAuthSystemType)) {