How to get the current login user id to protect the route in express?

前端 未结 0 1941
伪装坚强ぢ
伪装坚强ぢ 2021-02-05 18:36

I have a middleware that that validates the token..

The problem is I am trying to protect a route, but I couldn\'t access the current login user to protect this route

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