Skip to content

Commit 7c7bbb3

Browse files
committed
refactor(service): users/auth: add todo notes
1 parent 9eb6d42 commit 7c7bbb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service/src/express.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ app.use('/private',
5454
express.static(path.join(__dirname, 'private')));
5555

5656
// Configure authentication
57+
// TODO: users-next: remove this and initialize in main app module
5758
const authentication = AuthenticationInitializer.initialize(app, passport, provision);
5859

5960
// Configure routes
60-
// 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
6162
require('./routes')(app, { authentication });
6263

6364
// Express requires a 4 parameter function callback, do not remove unused next parameter

0 commit comments

Comments
 (0)