From c9d1577087bcc26e77edbccd1dd8647750db555f Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 11 Mar 2020 12:47:37 -0400 Subject: [PATCH] Let's not log the username/password This could easily be seen by someone who shouldn't. --- lib/tasks/emails.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/emails.rake b/lib/tasks/emails.rake index 9eb92501994..4180658e640 100644 --- a/lib/tasks/emails.rake +++ b/lib/tasks/emails.rake @@ -78,7 +78,7 @@ task 'emails:test', [:email] => [:environment] do |_, args| STR end - puts "Testing sending to #{email} using #{smtp[:user_name]}:#{smtp[:password]}@#{smtp[:address]}:#{smtp[:port]}." + puts "Testing sending to #{email} using #{smtp[:address]}:#{smtp[:port]}." # We would like to do this, but Net::SMTP errors out using starttls #Net::SMTP.start(smtp[:address], smtp[:port]) do |s|