re: Building a NodeJS Web App Using PassportJS for Authentication VIEW POST


Hey Richard,

Thank you for making an effort to solve the issue, I agree they are various tutorials for MongoDB, EJS, Php, etc.. for the login registration with passport but yours is the only one that I could find with MySQL and HTML. Perfect for what I was looking for.

I need your help for an error,
db[] = model;

TypeError: Cannot read property 'name' of undefined

this error is in the index.js file.

Looking forward to your reply.

code of conduct - report abuse