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

View File

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