#167 hotfix forgot to add timeout to register too, as its one of the first web calls too

This commit is contained in:
Adam Saudagar 2023-07-21 18:50:59 +05:30
parent cbb37e8f0b
commit 8b21b722f2
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.5.19
0.5.20

View File

@ -52,7 +52,7 @@ def logout():
def _register_user():
ip = get_ip(GoogleDnsProvider)
body = {"ip": ip, "apiversion": apiversion}
response = requests.post(urls.user, json=body)
response = requests.post(urls.user, json=body, timeout=10)
result = response.json()
return result["uid"]