How to send flash messages in Express 4.0?

后端 未结 6 2403
梦谈多话
梦谈多话 2020-11-28 03:26

So my web application requires authentication, and I have a signup page where if the person tries to sign up with an email that is already in the database, I want to show th

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 03:58

    This might be an old post guys but I just became aware of express-flash-2. It appears to be less buggy with Express 4 seems to have solved all my problems.

    npm link

提交回复
热议问题