This commit is contained in:
mahyargdz
2025-07-09 12:43:11 +03:30
parent fadc52b519
commit bc7574b90d
+2 -1
View File
@@ -711,7 +711,8 @@ module.exports.generate_reset_user_password_link = [
html: emailHTMLTemplate
})
} else {
const resetLink = `asan-service.com/auth/resetpass-newpass/${resetPassKey}`
// const resetLink = `asan-service.com/auth/resetpass-newpass/${resetPassKey}`
const resetLink = `${resetPassKey}`
console.log(resetLink)
await sms.auth.passwordReset(user.mobile_number, resetLink, new Date())
}