pis #12

Merged
fred.boniface merged 95 commits from pis into main 2023-05-06 21:54:51 +01:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit b69e34e2b5 - Show all commits

View File

@ -6,4 +6,6 @@ const valid = [
"networkrail.co.uk"
]
// Use Network Rail Control contact book to add domains
module.exports = valid

View File

@ -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");