mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Store the provider's `sub` on a new nullable users.oidc_sub column, look users up by it first and fall back to email, backfilling the sub on the next login. A user matched by sub gets their stored email updated, unless another account already holds it. Fixes #1690 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>