fix: Resolve password_hash default value error and disable OTP autofill

This commit is contained in:
Hamza-Ayed
2026-08-26 23:24:35 +03:00
parent 0d63554a1f
commit 6201630865
4 changed files with 12 additions and 18 deletions
+4 -4
View File
@@ -786,13 +786,13 @@ class StudentPortal
clearInterval(countdownTimer);
}
function switchToOtpStep(maskedPhone, debugOtp) {
function switchToOtpStep(maskedPhone) {
document.getElementById('step_phone_container').style.display = 'none';
document.getElementById('step_otp_container').style.display = 'block';
document.getElementById('otp_target_display').textContent = maskedPhone;
if (debugOtp) {
document.getElementById('student_otp_code').value = debugOtp;
}
const otpInput = document.getElementById('student_otp_code');
otpInput.value = '';
otpInput.focus();
startTimer(60);
}