text:`You must open the following link in your browser to verify your account and gain access to the wiki: ${WIKI.config.host}/verify/${verificationToken}`
text:`You must open the following link in your browser to verify your account and gain access to the wiki: ${WIKI.config.mail.defaultBaseURL}/verify/${verificationToken}`
})
}elseif(sendWelcomeEmail){
// Send welcome email
awaitWIKI.mail.send({
template:'accountWelcome',
to:email,
subject:`Welcome to the wiki ${WIKI.config.title}`,
data:{
preheadertext:`You've been invited to the wiki ${WIKI.config.title}`,
title:`You've been invited to the wiki ${WIKI.config.title}`,
content:`Click the button below to access the wiki.`,
buttonLink:`${WIKI.config.host}/login`,
buttonText:'Login'
},
text:`You've been invited to the wiki ${WIKI.config.title}: ${WIKI.config.host}/login`