# Module: Authentication & Account Setup

User Type: **Student**
Source: *Mi Digital Academy - Education CRM Features Document*

All features and functionalities of this module, strictly feature and function based.

## 1. Student Login
- Email and password login as the primary authentication method
- OTP-based login verification (password + OTP)
- Social login (Google, Facebook)
- Two-factor authentication enrollment and challenge

## 2. Student Registration & Onboarding
- Student registration with terms, privacy, and parent consent capture
- Email verification and account activation
- Onboarding flow (basic information, learning preferences, goals & motivation)
- Free trial activation (7-day full access)

## 3. Password Management
- Password reset via single-use, time-limited link
- Password change with current-password verification
- Password policy enforcement (strength, reuse, personal information)

## 4. Session Management & Privacy
- Active sessions list, sign out, inactivity timeout, concurrency
- Privacy policy, communication preferences, data portability
- Account deletion with cooling-off period
- Consent records and minor-specific parent consent

---

## Feature Documents

Detailed specifications for each feature group (in `authentication_account_setup/`):

1. [Student Login](authentication_account_setup/student_login.md)
   - Test Cases: [student_login_tests.md](authentication_account_setup/student_login_tests.md)
2. [Student Registration & Onboarding](authentication_account_setup/student_registration_onboarding.md)
   - Test Cases: [student_registration_onboarding_tests.md](authentication_account_setup/student_registration_onboarding_tests.md)
3. [Password Management](authentication_account_setup/password_management.md)
   - Test Cases: [password_management_tests.md](authentication_account_setup/password_management_tests.md)
4. [Session Management & Privacy](authentication_account_setup/session_management_privacy.md)
   - Test Cases: [session_management_privacy_tests.md](authentication_account_setup/session_management_privacy_tests.md)
