forked from rDrama/rDrama
fix 500 error
parent
981692550f
commit
3aab5240f3
|
@ -876,8 +876,8 @@ def settings_title_change(v):
|
||||||
|
|
||||||
v.customtitle = filter_emojis_only(new_name)
|
v.customtitle = filter_emojis_only(new_name)
|
||||||
|
|
||||||
if len(v.customtitle) < 1000:
|
if len(v.customtitle) > 1000:
|
||||||
g.db.add(v)
|
return render_template("settings_profile.html", v=v, error="Flair too long")
|
||||||
|
|
||||||
return redirect("/settings/profile")
|
return redirect("/settings/profile")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue