v2.5: Checkbox-Captcha "Ich bin kein Roboter" + E-Mail Feld

This commit is contained in:
Peter
2026-05-16 13:42:04 +00:00
parent ea90a3c9e3
commit f8b97bc9f8
2 changed files with 89 additions and 276 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ def reservations():
# Captcha validieren
captcha_token = data.get("captcha_token")
captcha_answer = data.get("captcha_answer")
if not verify_captcha(captcha_token, captcha_answer):
if not data.get("captcha_verified"):
return jsonify({"error": "Ungueltiges oder abgelaufenes Captcha"}), 400
# E-Mail validieren