master
Aevann1 2022-01-13 06:59:16 +02:00
parent de353a43eb
commit bbdb8e7d24
1 changed files with 0 additions and 2 deletions

View File

@ -848,8 +848,6 @@ def admin_title_change(user_id, v):
user = g.db.query(User).filter_by(id=user_id).one_or_none() user = g.db.query(User).filter_by(id=user_id).one_or_none()
if user.admin_level != 0: abort(403)
new_name=request.values.get("title").strip()[:256] new_name=request.values.get("title").strip()[:256]
user.customtitleplain=new_name user.customtitleplain=new_name