modif Pagans
This commit is contained in:
		| @@ -85,6 +85,7 @@ Pagans.keyrecovery = (emailalias, tribe, search, lg) => { | ||||
|       if (person.recoveryauth) emaillist.push({ alias: search, tribe, lg }); | ||||
|     } | ||||
|   } | ||||
|   console.log(emaillist) | ||||
|   emaillist.forEach((e) => { | ||||
|     const ret = Pagans.sendmailkey(e); | ||||
|   }); | ||||
| @@ -200,7 +201,7 @@ Pagans.sendmailkey = (data) => { | ||||
|   person.avecpassphrase = person.passphrase != ""; | ||||
|   let tplfile = `../${data.tribe}/template/createidentity_${data.lg}.js`; | ||||
|   if (!fs.existsSync(tplfile)) { | ||||
|     tplfile = `..//${data.tribe}/template/createidentity_${data.lg}.js`; | ||||
|     tplfile = `../${data.tribe}/template/createidentity_${data.lg}.js`; | ||||
|     if (!fs.existsSync(tplfile)) { | ||||
|       return { | ||||
|         status: 406, | ||||
| @@ -219,6 +220,7 @@ Pagans.sendmailkey = (data) => { | ||||
|         contentType:"text/plain" | ||||
|       }, | ||||
|   */ | ||||
|   | ||||
|   const maildata = { | ||||
|     from: tplemail.sender, | ||||
|     to: person.email, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user