From 2bb7676ba4f53e0792890224ac9ba580cfe0af79 Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Wed, 4 Nov 2020 09:18:22 +1000 Subject: [PATCH] FIX: Stop bypassing email checks for invite emails (#11113) See #10794 for original context. I did not mean to add invite to the BYPASS_TYPES for Email::Sender, it was supposed to be invite_password_instructions. --- lib/email/sender.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/email/sender.rb b/lib/email/sender.rb index 728e83a0e63..9712a3296e8 100644 --- a/lib/email/sender.rb +++ b/lib/email/sender.rb @@ -17,7 +17,7 @@ BYPASS_DISABLE_TYPES = %w( test_message new_version group_smtp - invite + invite_password_instructions download_backup_message admin_confirmation_message )