Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 766 Bytes

File metadata and controls

17 lines (15 loc) · 766 Bytes
area webapp
type fix

Org member invites now match emails case-insensitively. Previously an invite created with different casing than the invitee's account email (e.g. "Andreas@example.com" vs "andreas@example.com") could never be accepted — the accept route compared emails strictly and the pending-invite lookups were exact-match. Invite emails are now lowercased on creation, and all invite-by-email lookups (accept, decline, pending list) match case-insensitively so existing mixed-case invite rows still work.

Accepting an invite now also consumes any case-variant duplicate invites for the same org (pairs left over from before normalization), and re-inviting an already-invited email acts as a resend instead of failing on the unique constraint.