fix blacklisting
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ router.post('/domains/new', authMw.AllowIfAuthenticated, async(req, res, next) =
|
|||||||
// Make sure domain is valid
|
// Make sure domain is valid
|
||||||
const domainLabel = reqBody.register_domain_label;
|
const domainLabel = reqBody.register_domain_label;
|
||||||
const domainTLD = reqBody.register_domain_tld;
|
const domainTLD = reqBody.register_domain_tld;
|
||||||
const fullDomain = domainLabel + domainLabel;
|
const fullDomain = domainLabel + "." + domainLabel;
|
||||||
|
|
||||||
if(validationError !== undefined)
|
if(validationError !== undefined)
|
||||||
errors = validationError.details;
|
errors = validationError.details;
|
||||||
|
|||||||
Reference in New Issue
Block a user