Skip to content

Commit

Permalink
fix: demo auth type should support api token
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Kolstad committed May 11, 2021
1 parent c9cc474 commit 69ded61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/app.ts
Expand Up @@ -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;
}
Expand Down

0 comments on commit 69ded61

Please sign in to comment.