From 2505768e4d2d67ae1f82570063d601e5c4a0f9b1 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Mon, 4 Mar 2024 22:30:07 +0200 Subject: [PATCH] SMTP auto option --- app/views/email_smtp_settings/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/email_smtp_settings/index.html.erb b/app/views/email_smtp_settings/index.html.erb index ab5f561f9..08327544c 100644 --- a/app/views/email_smtp_settings/index.html.erb +++ b/app/views/email_smtp_settings/index.html.erb @@ -38,7 +38,7 @@
<%= ff.label :security_label, 'SMTP Security', class: 'label' %>
- <% [%w[None none], %w[SSL ssl], %w[TLS tls]].each do |(label, val)| %> + <% [%w[Auto none], %w[SSL ssl], %w[TLS tls]].each do |(label, val)| %> <%= ff.label :security, value: val, for: "#{val}_radio", class: 'label' do %> <%= ff.radio_button :security, val, checked: (value['security'].blank? && val == 'none') || value['security'] == val, id: "#{val}_radio", class: 'base-radio mr-2' %> <%= label %>