Fix new rubocop warnings
This commit is contained in:
parent
3988940e3c
commit
a83030dab7
37 changed files with 94 additions and 213 deletions
|
@ -26,9 +26,7 @@ windowslive_options = { :name => "windowslive", :scope => "wl.signin,wl.emails"
|
|||
github_options = { :name => "github", :scope => "user:email" }
|
||||
wikipedia_options = { :name => "wikipedia", :client_options => { :site => "https://meta.wikimedia.org" } }
|
||||
|
||||
if defined?(GOOGLE_OPENID_REALM)
|
||||
google_options[:openid_realm] = GOOGLE_OPENID_REALM
|
||||
end
|
||||
google_options[:openid_realm] = GOOGLE_OPENID_REALM if defined?(GOOGLE_OPENID_REALM)
|
||||
|
||||
Rails.application.config.middleware.use OmniAuth::Builder do
|
||||
provider :openid, openid_options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue