fix(plugin-authentication): CB-462 disable auth for easy-config

This commit is contained in:
Wroud
2020-10-28 12:33:56 +03:00
parent 83d8915120
commit 54ebfbe0fa
@@ -76,7 +76,7 @@ export class AuthenticationService extends Bootstrap {
throw new Error('Can\'t configure Authentication');
}
if (config.anonymousAccessEnabled || !config.authenticationEnabled) {
if (config.anonymousAccessEnabled || !config.authenticationEnabled || config.configurationMode) {
return;
}