More comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
e982e3ad10
commit
b69e34e2b5
@ -6,4 +6,6 @@ const valid = [
|
|||||||
"networkrail.co.uk"
|
"networkrail.co.uk"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
// Use Network Rail Control contact book to add domains
|
||||||
|
|
||||||
module.exports = valid
|
module.exports = valid
|
@ -7,7 +7,7 @@ const domList= require('../configs/domains.configs')
|
|||||||
|
|
||||||
async function createRegKey(eml){
|
async function createRegKey(eml){
|
||||||
const domain = clean.splitDomain(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();
|
const uuid = util.generateKey();
|
||||||
db.addRegReq(await uuid, await domain)
|
db.addRegReq(await uuid, await domain)
|
||||||
mail.sendRegister("mail", "uuid");
|
mail.sendRegister("mail", "uuid");
|
||||||
|
Loading…
Reference in New Issue
Block a user