Roberto Musso 90500a3462 fix: return 409 when unverified OAuth email conflicts with existing account
Before: branch 3 of oauth_callback attempted to INSERT a user with a
duplicate email → DB constraint violation → 500.

After: if email_verified=False and the email already exists, raise 409
with a message directing the user to sign in with their password.

Also adds test_callback_unverified_email_conflict_returns_409.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 13:46:15 +02:00
2026-04-08 23:27:34 +02:00
2026-04-08 23:27:34 +02:00
2026-03-03 12:39:32 +01:00
2026-04-08 23:27:34 +02:00
2026-03-03 15:14:04 +01:00
2026-03-10 09:11:24 +01:00
2026-04-08 23:52:52 +02:00

The file is empty.
Description
No description provided
Readme 2.7 MiB
Languages
Python 99.4%
Dockerfile 0.4%
Mako 0.2%