cxv
This commit is contained in:
parent
753b388781
commit
fdfbfc74ee
1 changed files with 3 additions and 3 deletions
|
@ -43,9 +43,9 @@ def removebackground(v):
|
|||
@limiter.limit("1/second;30/minute;200/hour;1000/day")
|
||||
@auth_required
|
||||
def settings_profile_post(v):
|
||||
if v and v.patron:
|
||||
if request.content_length > 8 * 1024 * 1024: return {"error":"Max file size is 8 MB."}, 413
|
||||
elif request.content_length > 4 * 1024 * 1024: return {"error":"Max file size is 4 MB."}, 413
|
||||
# if v and v.patron:
|
||||
# if request.content_length > 8 * 1024 * 1024: return {"error":"Max file size is 8 MB."}, 413
|
||||
# elif request.content_length > 4 * 1024 * 1024: return {"error":"Max file size is 4 MB."}, 413
|
||||
|
||||
|
||||
updated = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue