Only send provider specific dns configs
This commit is contained in:
@@ -20,7 +20,31 @@ const provider = ref('');
|
||||
const tlsProvider = ref('letsencrypt-prod-wildcard');
|
||||
const showAdvanced = ref(false);
|
||||
const customNameservers = ref(false);
|
||||
const dnsConfig = ref({});
|
||||
|
||||
// we have to define all properties here which are used in the DomainProviderForm to keep reactivity alive
|
||||
const dnsConfig = ref({
|
||||
accessKeyId: '',
|
||||
accessKey: '',
|
||||
accessToken: '',
|
||||
apiKey: '',
|
||||
apikey: '',
|
||||
appSecret: '',
|
||||
apiPassword: '',
|
||||
apiSecret: '',
|
||||
consumerKey: '',
|
||||
credentials: { client_email: '', private_key: '' },
|
||||
customerNumber: '',
|
||||
defaultProxyStatus: false,
|
||||
email: '',
|
||||
endpoint: '',
|
||||
password: '',
|
||||
projectId: '',
|
||||
secretAccessKey: '',
|
||||
secretapikey: '',
|
||||
token: '',
|
||||
tokenType: '',
|
||||
username: '',
|
||||
});
|
||||
|
||||
const isFormValid = ref(false);
|
||||
function checkValidity() {
|
||||
|
||||
Reference in New Issue
Block a user