mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 07:01:13 +08:00
Let's not log the username/password
This could easily be seen by someone who shouldn't.
This commit is contained in:
@ -78,7 +78,7 @@ task 'emails:test', [:email] => [:environment] do |_, args|
|
|||||||
STR
|
STR
|
||||||
end
|
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
|
# We would like to do this, but Net::SMTP errors out using starttls
|
||||||
#Net::SMTP.start(smtp[:address], smtp[:port]) do |s|
|
#Net::SMTP.start(smtp[:address], smtp[:port]) do |s|
|
||||||
|
Reference in New Issue
Block a user