mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 21:27:16 -05:00
refactoring the plugin interfaces to allow for better extensible
This commit is contained in:
@@ -33,6 +33,8 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
||||
:name => p.name,
|
||||
:require => "omniauth-oauth2"
|
||||
}.merge(p.options)
|
||||
else
|
||||
provider p.type, *p.options
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user