Handle hyphenatedSubdomains in the backend verifyDnsConfig()

This commit is contained in:
Johannes Zellner
2018-08-22 12:16:19 +02:00
parent 59700e455e
commit b35c81e546
10 changed files with 23 additions and 18 deletions

View File

@@ -234,7 +234,8 @@ function verifyDnsConfig(dnsConfig, fqdn, zoneName, ip, callback) {
var credentials = {
token: dnsConfig.token,
email: dnsConfig.email
email: dnsConfig.email,
hyphenatedSubdomains: !!dnsConfig.hyphenatedSubdomains
};
if (process.env.BOX_ENV === 'test') return callback(null, credentials); // this shouldn't be here