Fix: otp message

This commit is contained in:
hyzen
2026-06-08 13:54:07 +05:30
parent 6b441e9e84
commit 5f891a9198
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -120,7 +120,7 @@
<div id="otp-panel" style="display: none"> <div id="otp-panel" style="display: none">
<p class="otp-panel__hint"> <p class="otp-panel__hint">
A 6-digit code was sent to <strong id="otp-email-display"></strong>.<br /> A 6-digit code was sent to <strong id="otp-email-display"></strong>.<br />
Enter it below. The code expires in 10&nbsp;minutes. Enter it below. The code will expire in 10&nbsp;minutes.
</p> </p>
<div class="auth-form" style="margin-top: 1rem"> <div class="auth-form" style="margin-top: 1rem">
@@ -288,7 +288,7 @@
otpInput.value = ''; otpInput.value = '';
otpInput.focus(); otpInput.focus();
startResendCooldown(60); startResendCooldown(60);
showMsg('Code sent! Check your inbox (and spam folder).', 'success'); showMsg('OTP sent! Check your inbox (and spam folder).', 'success');
} else { } else {
showMsg(data.message || 'Failed to send code. Please try again.', 'error'); showMsg(data.message || 'Failed to send code. Please try again.', 'error');
} }