added OmniAuth initializer
This commit is contained in:
parent
6d23ed5dcd
commit
12180bf1f2
|
@ -0,0 +1,5 @@
|
|||
Rails.application.config.middleware.use OmniAuth::Builder do
|
||||
if APP_CONFIG['sharing']['twitter']['enabled']
|
||||
provider :twitter, APP_CONFIG['sharing']['twitter']['consumer_key'], APP_CONFIG['sharing']['twitter']['consumer_secret']
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue