feat: add magic-link admin login and speaker materials portal
This commit is contained in:
1 parent
3adc0fd58f
commit
8d8d3ae4b8
28 files changed
+1623
-232
No files matched your search
@@ -65,21 +65,22 @@ Bootcamp (Austria)** — instead of random demo data:
|
||||
|
||||
**Attendees** log in with **QR code** (typed or scanned) + **email** — the QR
|
||||
token is the Auth password. **Staff** log in with **QR code + their staff
|
||||
password** in the Convivo app, or **email + password** in the admin app. All four
|
||||
password** in the Convivo app. The Admin console uses only
|
||||
[email magic links](../frontend/admin-app.md#auth-guard). All four
|
||||
staff share the password **`appe-admin-2026`** (stored in `contacts.password`,
|
||||
auto-synced to `auth.users.encrypted_password` by the `trg_contact_password_sync`
|
||||
trigger).
|
||||
|
||||
> **Default admin password:** any `@appe.at` contact is an admin and logs in
|
||||
> with **`appe-admin-2026`** out of the box. The `trg_contacts_appe_at_admin`
|
||||
> **Existing default password:** any `@appe.at` contact is an admin and retains
|
||||
> **`appe-admin-2026`** for Convivo staff password login. The `trg_contacts_appe_at_admin`
|
||||
> trigger sets `contacts.password = 'appe-admin-2026'` (when null) on
|
||||
> insert/update, and the auth-user-creation helpers hash it into
|
||||
> `auth.users.encrypted_password` so a freshly-created `@appe.at` admin can log
|
||||
> in immediately. A custom password set on the contact row is always respected
|
||||
> `auth.users.encrypted_password`. Admin magic-link login neither uses nor changes
|
||||
> these passwords. A custom password set on the contact row is always respected
|
||||
> (never overwritten). See migration
|
||||
> [`20260910000000_admin_default_password.sql`](../../supabase/migrations/20260910000000_admin_default_password.sql).
|
||||
|
||||
| Person | Type | Email | Login |
|
||||
| Person | Type | Email | Convivo Login |
|
||||
|---|---|---|---|
|
||||
| **Amelia Hernandez** | staff (admin) | amelia@appe.at | `appe-admin-2026` |
|
||||
| **Sabrina Hota** | staff (admin) | sabrina@appe.at | `appe-admin-2026` |
|
||||
|
||||
Reference in new issue
Block a user