User invitation flow #1222
-
Our application allows a workspace owner to invite others to join. With Meteor, we could call Accounts.createUser without specifying a password to create a user account for the invitee and then call Accounts.sendEnrollmentEmail to notify the person of the invitation and have them set their initial password. How can we accomplish this flow in AccountsJS given that MongoServicePassword.createUser requires a password? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You could provide a totally random password that is just not used to bypass the typescript error? And continue with the same flow as before, sending a mail to the user so he can set his password. |
Beta Was this translation helpful? Give feedback.
You could provide a totally random password that is just not used to bypass the typescript error? And continue with the same flow as before, sending a mail to the user so he can set his password.