Value set on the request object in one handler function is missing(undefined) on the next route call

前端 未结 0 1405
自闭症患者
自闭症患者 2020-12-31 21:27

I have a login route that if a user signs in successfully, it attaches the id of the user from the database to the req.session.user property of the request object:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题