mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 07:21:54 +08:00
Let's not log the username/password
This could easily be seen by someone who shouldn't.
This commit is contained in:
parent
c738d31809
commit
f8c31eb1e0
@ -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…
x
Reference in New Issue
Block a user