mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-02 21:58:29 +00:00
a8b79740e9
Fix a race condition in the external viewset where concurrent requests could create multiple pending users with the same email address. No database constraint enforced email uniqueness for pending users, allowing duplicates to be created under load. This caused issues during user reconciliation, which expects a single matching pending user and raises a warning when multiple records are found. Add a narrowly scoped migration to enforce the uniqueness constraint and address the identified issue.