diff --git a/src/core/mail.js b/src/core/mail.js index d530018..ee8dd6a 100644 --- a/src/core/mail.js +++ b/src/core/mail.js @@ -40,7 +40,7 @@ class MailProvider { const pastMail = this.verifyCodes[to]; if (pastMail) { const minLeft = Math.floor( - pastMail.timestamp / MINUTE + 15 - Date.now() / MINUTE, + pastMail.timestamp / MINUTE + 2 - Date.now() / MINUTE, ); if (minLeft > 0) { logger.info(