ds
This commit is contained in:
parent
021977b47c
commit
eca9c8e741
2 changed files with 10 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue