fix(dashboard): keep unverified users on enroll page after join
After email login, auto-enroll was redirecting to /lms or the admin /courses/:id/lessons route. Unverified users cannot use the LMS yet (VerifyEmailModal on app routes), which felt like a permission error. Enroll without verification, but stay on the enroll page with a verify prompt instead of redirecting until email is confirmed. Also fix custom domain org lookup to use hostname without backend port. Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
co-authored by
Rotimi Best
parent
be0085f090
commit
f262a092ed
@@ -892,7 +892,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "Du skal betale for dette kursus eller blive inviteret for at få adgang.",
|
||||
"back_to_course": "Tilbage til kurset",
|
||||
"join_course": "Deltag i kursus"
|
||||
"join_course": "Deltag i kursus",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "Gratis",
|
||||
|
||||
@@ -892,7 +892,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "Sie müssen für diesen Kurs bezahlen oder eingeladen werden, um Zugang zu erhalten.",
|
||||
"back_to_course": "Zurück zum Kurs",
|
||||
"join_course": "Nehmen Sie am Kurs teil"
|
||||
"join_course": "Nehmen Sie am Kurs teil",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "Kostenlos",
|
||||
|
||||
@@ -3371,7 +3371,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "You need to pay for this course or be invited to get access.",
|
||||
"back_to_course": "Back to course",
|
||||
"join_course": "Join Course"
|
||||
"join_course": "Join Course",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"course_content": "Course content",
|
||||
"modules": "modules",
|
||||
|
||||
@@ -892,7 +892,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "Debes pagar por este curso o ser invitado a obtener acceso.",
|
||||
"back_to_course": "volver al curso",
|
||||
"join_course": "Unirse al curso"
|
||||
"join_course": "Unirse al curso",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "Gratis",
|
||||
|
||||
@@ -892,7 +892,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "Vous devez payer pour ce cours ou être invité pour y accéder.",
|
||||
"back_to_course": "Retour au cours",
|
||||
"join_course": "Rejoindre le cours"
|
||||
"join_course": "Rejoindre le cours",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "Gratuit",
|
||||
|
||||
@@ -892,7 +892,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "आपको इस पाठ्यक्रम के लिए भुगतान करना होगा या प्रवेश पाने के लिए आमंत्रित किया जाना होगा।",
|
||||
"back_to_course": "पाठ्यक्रम पर वापस जाएँ",
|
||||
"join_course": "पाठ्यक्रम में शामिल हों"
|
||||
"join_course": "पाठ्यक्रम में शामिल हों",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "निःशुल्क",
|
||||
|
||||
@@ -892,7 +892,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "Aby uzyskać dostęp, musisz zapłacić za ten kurs lub otrzymać zaproszenie.",
|
||||
"back_to_course": "Powrót na kurs",
|
||||
"join_course": "Dołącz do kursu"
|
||||
"join_course": "Dołącz do kursu",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "Bezpłatny",
|
||||
|
||||
@@ -892,7 +892,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "Você precisa pagar por este curso ou ser convidado para obter acesso.",
|
||||
"back_to_course": "De volta ao curso",
|
||||
"join_course": "Participe do curso"
|
||||
"join_course": "Participe do curso",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "Grátis",
|
||||
|
||||
@@ -892,7 +892,11 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "Вам нужно заплатить за этот курс или получить приглашение для получения доступа.",
|
||||
"back_to_course": "Вернуться к курсу",
|
||||
"join_course": "Присоединиться к курсу"
|
||||
"join_course": "Присоединиться к курсу",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area.",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "Бесплатно",
|
||||
|
||||
@@ -892,7 +892,9 @@
|
||||
"enroll_page": {
|
||||
"requires_payment_or_invite": "Bạn cần phải trả tiền cho khóa học này hoặc được mời để có quyền truy cập.",
|
||||
"back_to_course": "Quay lại khóa học",
|
||||
"join_course": "Tham gia khóa học"
|
||||
"join_course": "Tham gia khóa học",
|
||||
"enrolled_success": "You're enrolled in this course.",
|
||||
"enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area."
|
||||
},
|
||||
"pricing_section": {
|
||||
"free": "miễn phí",
|
||||
|
||||
Reference in New Issue
Block a user