mirror of
https://github.com/bitbaum/petvity.git
synced 2026-12-04 04:57:23 +01:00
lib/auth/orangecat.ts (provider, profile without email, placeholder email, the sub-keyed adapter wrapper) moves to @bitbaum/accountkit/orangecat v0.2.1, which took it as one of its sources; its tests went with it. The ADMIN_EMAILS guard is accountkit's emailEarnsPromotion. Fixes a gap: forgot-password emailed a reset link to an account OrangeCat had created. That address came from OrangeCat unverified, so the link would have given whoever owns it a password on the OrangeCat person's account. It now gets the same generic answer (mayReceivePasswordReset); a person with a password of their own can still reset it. Two route tests. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>