fix: Resolve OTP verification instant transition and ensure bulletproof non-crashing conversation contact listing

This commit is contained in:
Hamza-Ayed
2026-08-27 12:09:09 +03:00
parent 9e9417f937
commit e16ad471c3
3 changed files with 21 additions and 6 deletions
+1
View File
@@ -1300,6 +1300,7 @@ class StudentPortal
}
document.cookie = "saqel_student_jwt=" + token + "; path=/; max-age=2592000; SameSite=Lax";
initWebSocket(token);
renderDashboard(user);
await checkStudentSession(token);
} else {
showError(data.message || 'رمز التحقق غير صحيح');