From 1416cf72e8051a4a6c021f9d646edd663a1bcf98 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 10 Sep 2026 15:29:27 +0300 Subject: [PATCH] sms retry 30 seconds --- app/javascript/submission_form/phone_step.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/submission_form/phone_step.vue b/app/javascript/submission_form/phone_step.vue index d3e95bed..c3e90fb3 100644 --- a/app/javascript/submission_form/phone_step.vue +++ b/app/javascript/submission_form/phone_step.vue @@ -261,7 +261,7 @@ export default { } }, resendCode () { - if (this.codeSentAt && Date.now() - this.codeSentAt < 15000) { + if (this.codeSentAt && Date.now() - this.codeSentAt < 30000) { this.startResendCodeCountdown() } else { this.isResendLoading = true @@ -274,7 +274,7 @@ export default { } }, startResendCodeCountdown () { - this.resendCodeCountdown = 15 - parseInt((Date.now() - this.codeSentAt) / 1000) + this.resendCodeCountdown = 30 - parseInt((Date.now() - this.codeSentAt) / 1000) this.interval = setInterval(() => { this.resendCodeCountdown--