Open kponda opened 7 years ago
Thank you!
Just one question: How do you set up the server-side code that listens for logins with this method? Do you use Accounts.registerLoginHandler
to register your own function that pulls data from the data map that has been passed?
Hello,
Yes, I used Accounts.registerLoginHandler. I did push own sample code to github.
https://github.com/kponda/samples/blob/master/MeteorCustomLogin/custom-accounts_server.js
Login with postgresql and create/update Meteor user collection.
I use meteor custom login with postgresql.
This function is simple, call "login" with any parameters. It's like a Asteroid style. https://github.com/mondora/asteroid#loginparams