We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb6d42 commit 7c7bbb3Copy full SHA for 7c7bbb3
service/src/express.js
@@ -54,10 +54,11 @@ app.use('/private',
54
express.static(path.join(__dirname, 'private')));
55
56
// Configure authentication
57
+// TODO: users-next: remove this and initialize in main app module
58
const authentication = AuthenticationInitializer.initialize(app, passport, provision);
59
60
// Configure routes
-// TODO: don't pass authentication to other routes, but enforce authentication ahead of adding route modules
61
+// TODO: users-next: don't pass authentication to other routes, but enforce authentication ahead of adding route modules
62
require('./routes')(app, { authentication });
63
64
// Express requires a 4 parameter function callback, do not remove unused next parameter
0 commit comments