dfsfsd
This commit is contained in:
parent
00b18ca1dc
commit
4dab5b9050
5 changed files with 9 additions and 9 deletions
|
@ -645,7 +645,7 @@ def admin_removed(v):
|
|||
@admin_level_required(4)
|
||||
@validate_formkey
|
||||
def admin_image_ban(v):
|
||||
if request.content_length > 16 * 1024 * 1024: abort(413)
|
||||
if request.content_length > 4 * 1024 * 1024: return "Max file size is 4 MB.", 413
|
||||
|
||||
|
||||
i=request.files['file']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue