forked from rDrama/rDrama
disallow "remindme" being used as a group name
parent
f89f57cded
commit
6184d1a883
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue