mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-30 21:17:50 -05:00
This change removes the twitter authentication feature from the application. It removes the `omniauth-twitter` gem and all related code from controllers, views, and tests. It also removes the twitter icon and environment variable settings.
6 lines
213 B
Ruby
6 lines
213 B
Ruby
# frozen_string_literal: true
|
|
|
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
|
provider :flickr, ENV.fetch('GROWSTUFF_FLICKR_KEY', nil), ENV.fetch('GROWSTUFF_FLICKR_SECRET', nil), scope: 'read'
|
|
end
|