pis #12
@ -6,4 +6,6 @@ const valid = [
|
||||
"networkrail.co.uk"
|
||||
]
|
||||
|
||||
// Use Network Rail Control contact book to add domains
|
||||
|
||||
module.exports = valid
|
@ -7,7 +7,7 @@ const domList= require('../configs/domains.configs')
|
||||
|
||||
async function createRegKey(eml){
|
||||
const domain = clean.splitDomain(eml)
|
||||
if (domain in domList.valid) {
|
||||
if (domain in domList.valid) { // Don't know if this is correct
|
||||
const uuid = util.generateKey();
|
||||
db.addRegReq(await uuid, await domain)
|
||||
mail.sendRegister("mail", "uuid");
|
||||
|
Loading…
Reference in New Issue
Block a user