css fixes

This commit is contained in:
2025-06-21 14:03:39 +01:00
parent 968a4cb442
commit da447939bb
7 changed files with 149 additions and 151 deletions

View File

@@ -78,7 +78,7 @@ def snake_submit():
logging.error("Invalid score value: %s", score)
return render_template('404.html', scores=scores, error='Invalid score value'), 400
if score <= 0 or score > 10000 or len(username) < 3 or len(username) > 20:
if score <= 0 or score > 10000 or len(username) < 3 or len(username) > 15:
logging.error("Invalid score or username length: score=%s, username=%s", score, username)
return render_template('404.html', scores=scores, error='Invalid score or username length'), 400