modif 789000 pour code smaychit

This commit is contained in:
2026-06-09 16:37:35 +02:00
parent 938a9dfbaa
commit a5efb36d44
+1 -1
View File
@@ -274,7 +274,7 @@ router.get("/checkemail/:email/:digit6", checkHeaders, async (req, res) => {
const tmpFile = path.join(tmpDir, email); const tmpFile = path.join(tmpDir, email);
if (digit6 === "0") { if (digit6 === "0") {
const code = email.includes("smatchit.io") ? "7890" : Math.floor(100000 + Math.random() * 900000).toString(); const code = email.includes("smatchit.io") ? "789000" : Math.floor(100000 + Math.random() * 900000).toString();
fs.ensureDirSync(tmpDir); fs.ensureDirSync(tmpDir);
fs.writeFileSync(tmpFile, code); fs.writeFileSync(tmpFile, code);