Permalink
Browse files

omniauth uncommented

  • Loading branch information...
1 parent 6f359f5 commit 50d70b2895eb9a68dfd91fcddac24f76e6e2283c @michaeleconomy committed Jan 23, 2012
Showing with 13 additions and 13 deletions.
  1. +13 −13 config/initializers/omni_auth.rb
@@ -1,13 +1,13 @@
-# NETFLIX_KEY = Secret['netflix_key']
-# NETFLIX_SECRET = Secret['netflix_secret']
-#
-# FACEBOOK_KEY = Secret['facebook_key']
-# FACEBOOK_SECRET = Secret['facebook_secret']
-#
-# if Rails.env.development?
-# OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
-# end
-# Rails.application.config.after_initialize.middleware.use OmniAuth::Builder do
-# provider :netflix, NETFLIX_KEY, NETFLIX_SECRET
-# provider :facebook, FACEBOOK_KEY, FACEBOOK_SECRET, :scope => "", :client_options => {:ssl => {:ca_path => "/etc/ssl/certs"}}
-# end
+NETFLIX_KEY = Secret['netflix_key']
+NETFLIX_SECRET = Secret['netflix_secret']
+
+FACEBOOK_KEY = Secret['facebook_key']
+FACEBOOK_SECRET = Secret['facebook_secret']
+
+if Rails.env.development?
+ OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
+end
+Rails.application.config.after_initialize.middleware.use OmniAuth::Builder do
+ provider :netflix, NETFLIX_KEY, NETFLIX_SECRET
+ provider :facebook, FACEBOOK_KEY, FACEBOOK_SECRET, :scope => "", :client_options => {:ssl => {:ca_path => "/etc/ssl/certs"}}
+end

0 comments on commit 50d70b2

Please sign in to comment.