Auth check fix (#11649)
This commit is contained in:
parent
07168099db
commit
51fa941df7
@ -92,7 +92,7 @@ public class AuthConfigs extends Subscriber<ServerConfigChangeEvent> {
|
||||
*/
|
||||
@PostConstruct
|
||||
public void validate() throws NacosException {
|
||||
if (!authEnabled) {
|
||||
if (!authEnabled || EnvUtil.getStandaloneMode()) {
|
||||
return;
|
||||
}
|
||||
if (StringUtils.isEmpty(nacosAuthSystemType)) {
|
||||
|
Loading…
Reference in New Issue
Block a user