mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-06-30 23:12:16 +02:00
Fix: otp message
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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 minutes.
|
Enter it below. The code will expire in 10 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');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user