Skip to content

Commit

Permalink
[FIX] add ssl params
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienbeau committed Mar 23, 2020
1 parent 0f32f0d commit 860203a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/locomotive/steam/middlewares/auth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ def smtp
password: smtp_config['password'],
authentication: smtp_config['authentication'] || 'plain',
enable_starttls_auto: (smtp_config['enable_starttls_auto'] || "0").to_bool,
ssl: (smtp_config['ssl'] || "0").to_bool,
}
end
end
Expand Down
1 change: 1 addition & 0 deletions spec/unit/middlewares/auth_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
port: 25,
authentication: 'plain',
enable_starttls_auto: false,
ssl: false,
) }

context 'no smtp metafields' do
Expand Down

0 comments on commit 860203a

Please sign in to comment.