Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

When are the users record created #9

Open
sorenriise opened this issue Jul 14, 2015 · 2 comments
Open

When are the users record created #9

sorenriise opened this issue Jul 14, 2015 · 2 comments

Comments

@sorenriise
Copy link

The sms-server.js (validateCode) contains the line

var user = Meteor.users.findOne({phone: phone});

The "meteor_accounts_sms" is being generated correctly once the sendVerificationCode is called, but my system does not have any "users" records.

How is the "users" record expected to be created with the ""phone" attribute prior to validation?

@gwendall
Copy link

Bumped into the same question, that does not seem to happen. Have a look at my PR to fix this. #11

@sorenriise
Copy link
Author

Humm.. Thanks gwendall, I don't see how your pull request fixes the account creation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants