Hi, how can I login user if my Users collection has no password only ‘pwd’ and i cannot change it to ‘password’ ?
Custom login handlers
hwillson
#2
Create your own login handler using Accounts.registerLoginHandler
(for a really good intro to custom login handlers, see Extending Meteor Accounts). Within that login handler verify your user by comparing the submitted password against the User collections ‘pwd’ field. Take a look at the Meteor Accounts._checkPassword
function for an idea of how to do this.
robfallows
#5
Sadly, the meteorhacks site is no more.
However, thanks to the Internet Archive, you can still see the article.