domains.fqdn only takes 2 args

This commit is contained in:
Girish Ramakrishnan
2018-11-05 17:35:50 -08:00
parent 9372afad9a
commit 9f8b47daa9

View File

@@ -609,7 +609,7 @@ function install(data, user, auditSource, callback) {
if (error) return callback(new AppsError(AppsError.BAD_FIELD, 'Bad location: ' + error.message));
if (cert && key) {
let fqdn = domains.fqdn(location, domain, domainObject);
let fqdn = domains.fqdn(location, domainObject);
error = reverseProxy.validateCertificate(fqdn, cert, key);
if (error) return callback(new AppsError(AppsError.BAD_CERTIFICATE, error.message));
}