Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register static method #2

Open
phucnm opened this issue Oct 31, 2014 · 2 comments
Open

register static method #2

phucnm opened this issue Oct 31, 2014 · 2 comments

Comments

@phucnm
Copy link

phucnm commented Oct 31, 2014

Where is your register method in Account model, I found in routes.js a line :

Account.register(user, password, function(error, account) {...});

@roblevintennis
Copy link
Owner

@phucnm haven't had a chance to look at any of this and I'm swamped with multiple project so I won't be able to dig in. Sounds, though, like there might have been code to prune

@ChristianSch
Copy link

Hi guys, I just had the exact same question and I found an answer.

@phucnm The register method of the Account model is provided by the passport-local-mongoose package. I bet you have resolved your problems, but I think this should be documented anyway.

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

No branches or pull requests

3 participants