Replaced one-pager with multiple pages and fixed security bugs

This commit is contained in:
Jan Meinl
2026-05-16 21:10:55 +02:00
parent 802906f9d4
commit 68034dea7d
25 changed files with 2311 additions and 1217 deletions
+4
View File
@@ -83,6 +83,10 @@ func handleCreateCompetition(w http.ResponseWriter, r *http.Request) {
writeError(w, http.StatusBadRequest, "missing_name")
return
}
if len(req.Name) > 200 {
writeError(w, http.StatusBadRequest, "too_long")
return
}
allow := 0
if req.AllowAnyScorerEdit {
allow = 1