diff options
author | David Yip <yipdw@member.fsf.org> | 2018-04-04 13:55:42 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2018-04-04 13:55:42 -0500 |
commit | bda1782cd864ed3aabb5a4d87359a1cb7595f4a6 (patch) | |
tree | 4ecb8623959b616fec9ab2a9c855048fb8c2da49 /lib | |
parent | 77b650b69c8146a2acf4e7d270343f89c9838690 (diff) | |
parent | 6611100480c86c07972c1223e7231c136966e11d (diff) |
Merge remote-tracking branch 'personal/merge/tootsuite/master' into gs-master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/mastodon.rake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake index cfd6a1d25..505c7e0fa 100644 --- a/lib/tasks/mastodon.rake +++ b/lib/tasks/mastodon.rake @@ -256,11 +256,7 @@ namespace :mastodon do q.modify :strip end - env['SMTP_OPENSSL_VERIFY_MODE'] = prompt.ask('SMTP OpenSSL verify mode:') do |q| - q.required - q.default 'peer' - q.modify :strip - end + env['SMTP_OPENSSL_VERIFY_MODE'] = prompt.select('SMTP OpenSSL verify mode:', %w(none peer client_once fail_if_no_peer_cert)) end env['SMTP_FROM_ADDRESS'] = prompt.ask('E-mail address to send e-mails "from":') do |q| |