acme: interpret no TOS as accepted

some custom ACME endpoints do not have TOS, interpret this as
'the user has accepted the TOS', like we do for PVE.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-10-21 11:12:12 +02:00 committed by Wolfgang Bumiller
parent 181a335bfa
commit 9d42e0475b
1 changed files with 2 additions and 1 deletions

View File

@ -154,7 +154,8 @@ async fn register_account(
false false
} }
} else { } else {
false println!("No Terms of Service found, proceeding.");
true
}; };
println!("Attempting to register account with {:?}...", directory); println!("Attempting to register account with {:?}...", directory);