fd
This commit is contained in:
parent
44ce46513a
commit
0e1063c38c
3 changed files with 3 additions and 3 deletions
|
@ -176,7 +176,7 @@ def admin_level_required(x):
|
|||
if not v:
|
||||
abort(401)
|
||||
|
||||
if v.is_banned:
|
||||
if v.is_suspended:
|
||||
abort(403)
|
||||
|
||||
if v.admin_level < x:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue