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:
parent
c9cc474df5
commit
69ded61448
@ -88,6 +88,7 @@ export default function getApp(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case IAuthType.DEMO: {
|
case IAuthType.DEMO: {
|
||||||
|
app.use(baseUriPath, apiTokenMiddleware(config, services));
|
||||||
demoAuthentication(app, config.server.baseUriPath, services);
|
demoAuthentication(app, config.server.baseUriPath, services);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user