@extends('student.layouts.app') @section('title', app()->getLocale() === 'ar' ? 'أمان الحساب' : 'Account Security') @section('content') @php $isArabic = app()->getLocale() === 'ar'; $twoFactorLabel = match($student->two_factor_method) { 'email' => $isArabic ? 'رمز عبر البريد الإلكتروني' : 'Email Code', 'authenticator' => $isArabic ? 'تطبيق المصادقة' : 'Authenticator App', default => $isArabic ? 'غير مفعل' : 'Disabled', }; @endphp
{{ $isArabic ? 'غيّر كلمة المرور، راجع حالة البريد، واختر طريقة التحقق الثنائي المناسبة. الصفحة مبسطة وتعرض كل ما تحتاجه بوضوح.' : 'Change your password, review your email status, and choose the right two-factor method. This page is simplified and keeps everything clear.' }}
{{ $isArabic ? 'استخدم كلمة مرور قوية تحتوي على أحرف كبيرة وصغيرة وأرقام ورموز.' : 'Use a strong password with uppercase, lowercase, numbers, and symbols.' }}
{{ $isArabic ? 'اختر طريقة الحماية الإضافية المناسبة لك عند تسجيل الدخول.' : 'Choose the additional protection method you want during sign in.' }}