Let's not log the username/password
This could easily be seen by someone who shouldn't.
This commit is contained in:
parent
40f1201b39
commit
c9d1577087
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue