mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Do not default SMTP verify mode to "peer", default to "none" (#6996)
This commit is contained in:
parent
2c51bc0ca5
commit
36eac8ba90
1 changed files with 1 additions and 5 deletions
|
@ -256,11 +256,7 @@ namespace :mastodon do
|
||||||
q.modify :strip
|
q.modify :strip
|
||||||
end
|
end
|
||||||
|
|
||||||
env['SMTP_OPENSSL_VERIFY_MODE'] = prompt.ask('SMTP OpenSSL verify mode:') do |q|
|
env['SMTP_OPENSSL_VERIFY_MODE'] = prompt.select('SMTP OpenSSL verify mode:', %w(none peer client_once fail_if_no_peer_cert))
|
||||||
q.required
|
|
||||||
q.default 'peer'
|
|
||||||
q.modify :strip
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
env['SMTP_FROM_ADDRESS'] = prompt.ask('E-mail address to send e-mails "from":') do |q|
|
env['SMTP_FROM_ADDRESS'] = prompt.ask('E-mail address to send e-mails "from":') do |q|
|
||||||
|
|
Loading…
Reference in a new issue