mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-09-10 12:25:39 +00:00
- authLoginCallback matches users by email alone so an OAuth login links into an existing (incl. local) account instead of 500-ing on users_mail_unique - relink on a create-branch unique-violation race instead of returning 500 - issue the session with the linked account's actual role privileges - clear the stale OAuth provider link when a user changes their email - map the email-change unique-violation race to 409 instead of 500 - isUniqueViolation matches Postgres and SQLite case-insensitively - tests for link/create/blocked/role-inheritance/race, email 409, provider reset - update auth form test selectors after the form refactor Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>