From de4195be7e2c9628c95676fa2d032ec69da131b7 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 9eb9250199..4180658e64 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|