mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix
This commit is contained in:
parent
e58aaa6db6
commit
0903460fc4
1 changed files with 1 additions and 1 deletions
|
@ -214,9 +214,9 @@ def dyndns_unsubscribe(operation_logger, domain, password=None):
|
||||||
|
|
||||||
# Send delete request
|
# Send delete request
|
||||||
try:
|
try:
|
||||||
|
secret = str(domain) + ":" + str(password).strip()
|
||||||
r = requests.delete(
|
r = requests.delete(
|
||||||
f"https://{DYNDNS_PROVIDER}/domains/{domain}",
|
f"https://{DYNDNS_PROVIDER}/domains/{domain}",
|
||||||
secret = str(domain) + ":" + str(password).strip()
|
|
||||||
data = {"recovery_password": hashlib.sha256(secret.encode('utf-8')).hexdigest()},
|
data = {"recovery_password": hashlib.sha256(secret.encode('utf-8')).hexdigest()},
|
||||||
timeout=30,
|
timeout=30,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue