1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: demo auth type should support api token

This commit is contained in:
Christopher Kolstad 2021-05-11 14:15:15 +02:00
parent c9cc474df5
commit 69ded61448

View File

@ -88,6 +88,7 @@ export default function getApp(
break;
}
case IAuthType.DEMO: {
app.use(baseUriPath, apiTokenMiddleware(config, services));
demoAuthentication(app, config.server.baseUriPath, services);
break;
}