disallow "remindme" being used as a group name

master
Aevann 2023-04-25 13:59:56 +02:00
parent f89f57cded
commit 6184d1a883
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ def create_group(v):
if not name: abort(400)
name = name.strip().lower()
if name.startswith('slots') or name.startswith('wordle'):
if name.startswith('slots') or name.startswith('wordle') or name.startswith('remindme'):
return redirect(f"/ping_groups?error=You can't make a group with that name!")
if not valid_sub_regex.fullmatch(name):