generated from justuser-31/mrl_v1_license
Использование объёма МБ по умолчанию при первом создании.
This commit is contained in:
parent
687912f5ba
commit
4409a844c0
@ -475,7 +475,8 @@ class FileServerHandler(BaseHTTPRequestHandler):
|
|||||||
token = params.get("token", [""])[0]
|
token = params.get("token", [""])[0]
|
||||||
username = params.get("username", [""])[0]
|
username = params.get("username", [""])[0]
|
||||||
password = params.get("password", [""])[0]
|
password = params.get("password", [""])[0]
|
||||||
quota_mb = params.get("drive_quota", [""])[0]
|
# quota_mb = params.get("drive_quota", [""])[0]
|
||||||
|
quota_mb = str(CONFIG["storage"]["default_quota_mb"])
|
||||||
|
|
||||||
if token != CONFIG["security"]["api_token"]:
|
if token != CONFIG["security"]["api_token"]:
|
||||||
self.send_html("<h1>Invalid token</h1>", 403)
|
self.send_html("<h1>Invalid token</h1>", 403)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user