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
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