Accessing express-flash messages on client side js files

后端 未结 0 1482
-上瘾入骨i
-上瘾入骨i 2021-01-12 06:26

I am using passport/express/express flash/fetchAPI to log users in. In passport.authenticate(), I return a flash message to inform the client side of the error:

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