barong
barong copied to clipboard
Improve: Allow SMTP with no password and user_name
Hi!
When we use local SMTP without password and user_name there must be no empty user_name and password in SMTP settings.
Before this patch:
> [1] pry(main)> ActionMailer::Base.smtp_settings
=> {:address=>"172.16.0.56", :port=>"25", :user_name=>"", :password=>""}
After this patch:
[1] pry(main)> ActionMailer::Base.smtp_settings
=> {:address=>"172.16.0.56", :port=>"25"}
thank!
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
11.9% Duplication