- Register form: two required checkboxes (Terms of Service / Privacy Policy + UK GDPR data processing) - Zod schema uses z.literal(true) — form won't submit until both are checked - Backend: validates accept_terms + accept_data_processing flags (400 if missing) - User.save() writes created_at, consent_terms_at, consent_data_processing_at to MongoDB - Admin UsersTab: Registered column, email verified badge, consent timestamps in edit dialog - Fix: EU-hosted → UK hosted badge in register form Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| models | ||
| routes | ||
| services | ||
| utils | ||
| .DS_Store | ||
| __init__.py | ||
| db.py | ||
| extensions.py | ||
| websocket_debug_tap.py | ||
| websocket_manager.py | ||
| websocket_manager_async.py | ||