On line 17 in index.js app is passed to the init function:
require('./authentication').init(app)
What's the purpose of this? I tried without and it doesn't seem to affect functionality.
https://github.com/RisingStack/nodehero-authentication/blob/master/app/index.js#L17