PuzzleServer / mainpuzzleserver

The main repo for the Puzzle Hunt and Puzzleday servers.
MIT License
9 stars 32 forks source link

Validate lunch options #1030

Open jbodner09 opened 2 weeks ago

jbodner09 commented 2 weeks ago

compare the value we get in OnPostAddLunchAsync to all of the values in the server-side LunchOptions array, and if the value we get doesn't match any of them, just give them the default lunch

morganbr commented 2 weeks ago

Or reject the request so they can try again