Remove unused GitHub integration

This commit is contained in:
Andrew Cantino 2015-09-04 08:27:12 -07:00
parent f4b8e737f0
commit 615f1d51f1
2 changed files with 0 additions and 7 deletions

View file

@ -41,7 +41,6 @@ gem 'haversine'
# Optional Services.
gem 'omniauth-37signals' # BasecampAgent
# gem 'omniauth-github'
gem 'omniauth-wunderlist', github: 'wunderlist/omniauth-wunderlist', ref: 'd0910d0396107b9302aa1bc50e74bb140990ccb8'
# Bundler <1.5 does not recognize :x64_mingw as a valid platform name.

View file

@ -251,12 +251,6 @@ Devise.setup do |config|
config.omniauth :'37signals', key, secret
end
if defined?(OmniAuth::Strategies::GitHub) &&
(key = ENV["GITHUB_OAUTH_KEY"]).present? &&
(secret = ENV["GITHUB_OAUTH_SECRET"]).present?
config.omniauth :github, key, secret
end
if defined?(OmniAuth::Strategies::Dropbox) &&
(key = ENV["DROPBOX_OAUTH_KEY"]).present? &&
(secret = ENV["DROPBOX_OAUTH_SECRET"]).present?