modif 789000 pour code smaychit
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user