From e5d4d91fb2b21b7535650be3f297f88af93ff1c6 Mon Sep 17 00:00:00 2001 From: Wroud Date: Wed, 9 Sep 2020 14:41:49 +0300 Subject: [PATCH] fix(plugin-authentication): disable auth in configuration mode --- .../packages/plugin-authentication/src/AuthenticationService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/packages/plugin-authentication/src/AuthenticationService.ts b/webapp/packages/plugin-authentication/src/AuthenticationService.ts index 8564fcd4b3..f476a1f5e4 100644 --- a/webapp/packages/plugin-authentication/src/AuthenticationService.ts +++ b/webapp/packages/plugin-authentication/src/AuthenticationService.ts @@ -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; }