forked from MarseyWorld/MarseyWorld
limit my awards number to 100
parent
ce302127ab
commit
a571ab3e69
|
@ -377,7 +377,7 @@ def admin_userawards_post(v):
|
|||
|
||||
if value:
|
||||
|
||||
if int(value) > 10 and v.id != AEVANN_ID: abort(403)
|
||||
if int(value) > 100 or (int(value) > 10 and v.id != AEVANN_ID): abort(403)
|
||||
|
||||
if int(value): notify_awards[key] = int(value)
|
||||
|
||||
|
|
Loading…
Reference in New Issue