diff --git a/addons/deSEC/desec.sh b/addons/deSEC/desec.sh index 8c4f7a9f..c375877a 100644 --- a/addons/deSEC/desec.sh +++ b/addons/deSEC/desec.sh @@ -122,6 +122,16 @@ then fi } +register_domain_existing_account(){ +curl -X POST https://desec.io/api/v1/domains/ \ + --header "Authorization: Token $DEDYNAUTHTOKEN" \ + --header "Content-Type: application/json" --data @- < prompt_for_security_token + prompt_security_token + register_domain_existing_account break fi fi done -prompt_security_token +# Always ask for DynDNS and TLS prompt_dyndns prompt_tls