Right now, if a user tries to rsvp or post attendance (via POST /rsvp & /attend), and they have already entered this form before, it will send a req.flash() from the backend.
Instead of allowing them to submit the form, we should pass in a boolean to the frontend .ejs that just checks in advance and displays a different message to the user accordingly (if possible).
Right now, if a user tries to rsvp or post attendance (via POST /rsvp & /attend), and they have already entered this form before, it will send a
req.flash()
from the backend.Instead of allowing them to submit the form, we should pass in a boolean to the frontend .ejs that just checks in advance and displays a different message to the user accordingly (if possible).