Compare commits
2 Commits
3589564b7f
...
27a086a5c0
Author | SHA1 | Date |
---|---|---|
Ferdinand Thiessen | 27a086a5c0 | |
Ferdinand Thiessen | bc2fb820f0 |
|
@ -104,7 +104,7 @@ def frontend(userid, current_session):
|
|||
raise Forbidden
|
||||
|
||||
if request.method == "POST":
|
||||
if request.content_length > 1024**2:
|
||||
if request.content_length > 1024 ** 2:
|
||||
raise BadRequest
|
||||
current_session.user_.set_attribute("frontend", request.get_json())
|
||||
return no_content()
|
||||
|
|
Loading…
Reference in New Issue