Closed PimClappers closed 1 week ago
The IP tracking that will be implemented in https://github.com/DavidBergevoet/Setup-Corn-Reservation/issues/2 can be used for this.
It might be best to add a maximum amount of total time, as opposed to just total time per request
@DavidBergevoet
For the "maximum time", how do we deal with that? Look at this example:
Do I have to wait for the full reservation to pass, or can I, at this point, reserve 30 more minutes?
When a user has placed a reservation, he or she should not be able to place a second reservation immediately afterwards. Currently, users can reserve an unlimited amount of time by spamming the reserve button. See image below. (Name is censored for privacy reasons). Ofcourse, a user could still reserve a second time slot under a different name. Maybe prevent multiple reservations by checking the ip-adress of the user?![Screenshot_20240607_160819_WhatsApp](https://github.com/DavidBergevoet/Setup-Corn-Reservation/assets/37137643/0f853700-0a18-42d6-a1db-5b93e02bd08b)