0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/app/services/user
David Battersby 68b9d68576
FIX: handle email aliases when normalize emails is enabled (#42344)
With normalize_emails enabled an alias of an address already in use (dot or plus) can never be saved, but nothing checked for it up front. Adding a secondary email accepted the request and mailed a confirmation link, then failed on click with a raw "Email has already been taken". Incoming email from an alias hit the same error while staging a user, and bounced a generic "unrecognized error" reply.

Both are now caught before anything is written or mailed — the user gets a clear error, the sender gets a bounce telling them to send from the address they signed up with. The alias is still rejected; normalize_emails enforces
uniqueness on the normalized form.
2026-08-05 18:21:48 +04:00
..
action FIX: handle email aliases when normalize emails is enabled (#42344) 2026-08-05 18:21:48 +04:00
policy
bulk_destroy.rb DEV: Replace Ruby numbered parameters by it where applicable (#37810) 2026-02-13 13:59:07 +01:00
bulk_suspend.rb FEATURE: Bulk suspend users and filter the admin users list by activation (#41227) 2026-06-29 11:26:34 +02:00
silence.rb FEATURE: Link staff action log entries to originating reviewable (#39519) 2026-04-30 09:15:45 +08:00
suspend.rb FEATURE: Link staff action log entries to originating reviewable (#39519) 2026-04-30 09:15:45 +08:00