fix(plugin-authentication): disable auth in configuration mode

This commit is contained in:
Wroud
2020-09-09 14:41:49 +03:00
parent 167827158a
commit e5d4d91fb2
@@ -35,7 +35,7 @@ export class AuthenticationService extends Bootstrap {
throw new Error('Can\'t configure Authentication');
}
if (!config.authenticationEnabled) {
if (!config.authenticationEnabled || config.configurationMode) {
return;
}