1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

fix: failing tests

This commit is contained in:
Ivar Conradi Østhus 2021-04-15 11:35:45 +02:00
parent 9f3ca73075
commit 5214a7f88e
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -6,7 +6,8 @@ class ConfigController extends Controller {
constructor(config, { versionService }) {
super(config);
this.versionService = versionService;
const authenticationType = config.authentication.type;
const authenticationType =
config.authentication && config.authentication.type;
this.uiConfig = {
...config.ui,
authenticationType,