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