This commit is contained in:
Aevann1 2021-08-19 18:09:48 +02:00
parent 021977b47c
commit eca9c8e741
2 changed files with 10 additions and 1 deletions

View file

@ -677,6 +677,11 @@ def settings_title_change(v):
new_name=request.form.get("title").strip()[:100]
if "<" in new_name:
return render_template("settings_profile.html",
v=v,
error=f"Flairs can't contain <")
#make sure name is different
if new_name==v.customtitle:
return render_template("settings_profile.html",