Commit Graph

2 Commits

Author SHA1 Message Date
Romain bogdanovic 8f78cbf25d feat: user registration, password auth, and profile settings
- Add email+password registration at /auth/register (free, self-service)
- Add CredentialsProvider to NextAuth for password-based login
- Login page now has two tabs: magic link and password
- Add /profile settings page: update name, password, and email
- Auto-promote rbogdanovic@owlcub.com to ADMIN role on sign-in
- Add bcryptjs for secure password hashing
- Prisma: add optional password field to User model

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 20:34:03 +02:00
Romain bogdanovic 23febeebd4 fix: use client directive order, remove unused useTranslations import 2026-03-28 19:18:03 +01:00