Closed mafsan786git closed 5 years ago
Thanks for the report @mafsan786git . What steps do I need to take to be able to run that code above in order to reproduce the error?
Thanks for the report @mafsan786git . What steps do I need to take to be able to run that code above in order to reproduce the error?
can you please see this repository https://github.com/mafsan786git/LoginSystem @dougwilson
Thank you. Anywhere I can find the steps to set up the app and then what to do to see the error in it?
Thank you. Anywhere I can find the steps to set up the app and then what to do to see the error in it?
signup using localhost:3000/app/register Log in using localhost:3000/app/login
Thank you in advance
Because you have passReqToCallback:true
at https://github.com/mafsan786git/LoginSystem/blob/8c6b04818760ce55014925b1d27655b0e50961b7/config/passport.js#L12 the first agument to your callback is the request, not the email. Just remove that configuration.
Because you have
passReqToCallback:true
at https://github.com/mafsan786git/LoginSystem/blob/8c6b04818760ce55014925b1d27655b0e50961b7/config/passport.js#L12 the first agument to your callback is the request, not the email. Just remove that configuration.
Thank you for your support.
When I'm trying to log in it is throwing me the error... here is error...
AND MY LOG IN CODE IS GIVEN BELOWcan you please resolve this issue