Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Disable sync security (temp)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Aug 23, 2017
1 parent 5e32400 commit 5ac2b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/server/src/modules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function wfmApiSetup(app: express.Express, connectionPromise: Promise<any>) {
// Mount api
const api = new WfmRestApi();
const role = config.security.adminRole;
app.use('/api', securityMiddleware.protect(role));
// app.use('/api', securityMiddleware.protect(role));
app.use('/api', api.createWFMRouter());
connectionPromise.then(function(mongo: Db) {
// Fix compilation problem with different version of Db.
Expand Down

0 comments on commit 5ac2b21

Please sign in to comment.