mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: send email to normalized email owner when hiding emails (#23524)
Previous to this change when both `normalize_emails` and `hide_email_address_taken` is enabled the expected `account_exists` email was only sent on exact email matches. This expands it so it also sends an email to the canonical email owner.
This commit is contained in:
@@ -32,7 +32,7 @@ module SidekiqHelpers
|
||||
eq(expectation),
|
||||
(
|
||||
if expectation
|
||||
"No enqueued job with #{expected} found"
|
||||
"No enqueued job with #{expected}\nFound:\n #{jobs.inspect}"
|
||||
else
|
||||
"Enqueued job with #{expected} found"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user