Revert "[ISSUES #11601]Auth check fix" (#11671)

This commit is contained in:
杨翊 SionYang 2024-01-17 16:10:23 +08:00 committed by GitHub
parent 51fa941df7
commit f5d72a3455
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,7 @@ public class AuthConfigs extends Subscriber<ServerConfigChangeEvent> {
*/
@PostConstruct
public void validate() throws NacosException {
if (!authEnabled || EnvUtil.getStandaloneMode()) {
if (!authEnabled) {
return;
}
if (StringUtils.isEmpty(nacosAuthSystemType)) {