diff --git a/backend/app/Views/StudentPortal.php b/backend/app/Views/StudentPortal.php index 8561372..533263e 100644 --- a/backend/app/Views/StudentPortal.php +++ b/backend/app/Views/StudentPortal.php @@ -1973,6 +1973,14 @@ class StudentPortal // ========================================== // Auth Handlers (OTP) // ========================================== + function showError(msg) { + alert('⚠️ ' + msg); + } + + function showSuccess(msg) { + alert('✅ ' + msg); + } + async function requestStudentOtp() { const phone = document.getElementById('student_phone').value.trim(); if (!phone) {