guys I have 2 question
-
what is “local-register , local-login” where is come from. My route is /login and /register so how is it come. It’s from passport-local right? And this make me to type “local-login” like this right?
-
can someone explain this the 1st passport.use(local-register)
when I console.log(user) const user = undefined
but 2nd passport.use (local-login) when I use console.log(user) is not equal undefined although I have used same code in the 2 first-line but why Unequal values.` sorry for post Image I can’t post code.