trailsjs / sails-auth

Passport-based User Authentication system for sails.js applications. Designed to work well with the sails-permissions module.
https://www.npmjs.org/package/sails-auth
MIT License
265 stars 141 forks source link

#107 sails.services.passport throwing issue #116

Closed AnasAboreeda closed 8 years ago

AnasAboreeda commented 8 years ago

To solve this bug TypeError: Cannot read property 'initialize' of undefined at module.exports (/Users/anas/projects/sharkfish-server/node_modules/sails-auth/dist/api/policies/passport.js:35:11)