mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
Don't display email addresses in staff action logs for revoked email
This commit is contained in:
parent
98bd58df61
commit
42c39ab38e
@ -156,7 +156,7 @@ module Email
|
||||
elsif bounce_score >= SiteSetting.bounce_score_threshold
|
||||
# NOTE: we check bounce_score before sending emails, nothing to do
|
||||
# here other than log it happened.
|
||||
reason = I18n.t("user.email.revoked", email: user.email, date: user.user_stat.reset_bounce_score_after)
|
||||
reason = I18n.t("user.email.revoked", date: user.user_stat.reset_bounce_score_after)
|
||||
StaffActionLogger.new(Discourse.system_user).log_revoke_email(user, reason)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user