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

Temporary user model not defined. Either you forgotto generate one or you did not predefine one #64

Open
Hanzofm opened this issue Mar 28, 2017 · 2 comments

Comments

@Hanzofm
Copy link

Hanzofm commented Mar 28, 2017

I'm reciving this error from the library.

The temporary model, temporary_users is already created on mongodb but the error still showing

configured: true
generated temp user model: true

Messages from the library is showed always

Any idea?

@frankcash
Copy link
Collaborator

hello, can you please include your code

@mmarovich
Copy link

mmarovich commented Jun 1, 2017

@frankcash I am getting this exact same error, and I can link to you my repo: https://github.com/mmarovich/politics-react/tree/emailVerify

Here I have put everything inside of the server.js to get it to work, but I had originally had all of the code separated into a nev folder, which is still there, but not being used. I tried to model it after your code here.

Edit
As it turns out I was defining nev twice. Once in the server.js and another in the routes. This was causing some undesired default behavior.

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