TypeError : req.logIn is not a function #853
Unanswered
comingback2life
asked this question in
Help
Replies: 1 comment
-
The line |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to implement a login function for the app I am building, whenever I try to authenticate user via login. Instead of redirecting me to some page it sends me an error.
I am not being able to understand why req.logIn is not being recognised as a function.
Here is my index.js
This is my login route :
In my controller for login.
The login function will carry other logic but for now I just can't seem to hit the method.
Can anyone help me out with this please ?
Beta Was this translation helpful? Give feedback.
All reactions