node-email-verification
node-email-verification copied to clipboard
Temporary user model not defined. Either you forgotto generate one or you did not predefine one
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?
hello, can you please include your code
@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.