xpeditis2.0/apps/backend/src
David c312e7901e fix(auth): normalize email to lowercase on register/login + rollback orphaned org
L'email n'etait pas normalise, or la contrainte chk_users_email exige des
minuscules. Un email avec majuscules faisait echouer l'INSERT utilisateur APRES
la creation de l'organisation (flux non transactionnel), laissant une org
orpheline -> 'An organization with this name already exists' aux tentatives
suivantes.

- register/login: email.trim().toLowerCase()
- register: rollback de l'organisation nouvellement creee si la creation de
  l'utilisateur echoue (anti-orphelin)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 16:24:57 +02:00
..
application fix(auth): normalize email to lowercase on register/login + rollback orphaned org 2026-07-03 16:24:57 +02:00
domain feat(bookings): persist Options & Services (customs/insurance/DG/handling) 2026-07-02 19:12:18 +02:00
i18n fix language 2026-04-21 18:04:02 +02:00
infrastructure feat(bookings): persist Options & Services (customs/insurance/DG/handling) 2026-07-02 19:12:18 +02:00
scripts feature dashboard 2025-12-16 00:26:03 +01:00
app.module.ts fix security 2026-06-12 11:33:37 +02:00
main.ts fix security 2026-06-12 11:33:37 +02:00