fds
This commit is contained in:
parent
0c83fa44e3
commit
7a9dbe5fd4
1 changed files with 0 additions and 1 deletions
|
@ -843,7 +843,6 @@ def admin_title_change(user_id, v):
|
|||
@validate_formkey
|
||||
def ban_user(user_id, v):
|
||||
|
||||
print("sex")
|
||||
user = g.db.query(User).options(lazyload('*')).filter_by(id=user_id).first()
|
||||
|
||||
if user.admin_level >= v.admin_level: abort(403)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue