Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_registerSerializer () {
ioc.extend('Adonis/Src/Auth',
'mongoose',
(app) => require('../src/Serializers/MongooseSerializer'),
'serializer')
}
hooks.before.providersRegistered(() => {
ioc.extend('Adonis/Addons/Ally', 'bitbucket', () => bitbucket)
})