whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit 8e4446b: disable SMTP certificate verification
Date Fri, 04 Mar 2016 22:11:47 GMT
Commit 8e4446b542c6a69f2d754e4e53ced1860e82617b:
    disable SMTP certificate verification


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/roster/main.rb                                           | +++++ 
------------------------------------------------------------
5 changes: 5 additions, 0 deletions.
------------------------------------------------------------


diff --git a/www/roster/main.rb b/www/roster/main.rb
index 084d675..0c16b19 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -20,6 +20,11 @@
 require_relative 'banner'
 require_relative 'models'
 
+# Disable smtp certificate verification
+Mail.defaults do
+  delivery_method :smtp, openssl_verify_mode: 'none'
+end
+
 get '/' do
   if env['REQUEST_URI'].end_with? '/'
     @committers = ASF::Person.list

Mime
View raw message