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

Migrating users already hashed by bcrypt #109

Closed dottodot closed 8 years ago

dottodot commented 8 years ago

I currently have a database of users that were hashed using bcrypt but I'd like to migrate them so that I can use sails-auth and sails-permissions. Is it possible to this, tried just coping the passwords into the passport model but I couldn't login so I'm assuming it can't be done.

tjwebb commented 8 years ago

see discussion in #67