Fixed setting of new arguments.
This commit is contained in:
parent
de09b4e04f
commit
900fb35e5b
2 changed files with 4 additions and 4 deletions
|
@ -9,8 +9,8 @@ module OmniAuth
|
||||||
# database lookup
|
# database lookup
|
||||||
puts 'FacebookDatabase -> initialize'
|
puts 'FacebookDatabase -> initialize'
|
||||||
config = Setting.get('auth_facebook_credentials') || {}
|
config = Setting.get('auth_facebook_credentials') || {}
|
||||||
*args[0] = config['app_id']
|
args[0] = config['app_id']
|
||||||
*args[1] = config['app_secret']
|
args[1] = config['app_secret']
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,8 @@ module OmniAuth
|
||||||
# database lookup
|
# database lookup
|
||||||
puts 'TwitterDatabase -> initialize'
|
puts 'TwitterDatabase -> initialize'
|
||||||
config = Setting.get('auth_twitter_credentials') || {}
|
config = Setting.get('auth_twitter_credentials') || {}
|
||||||
*args[0] = config['key']
|
args[0] = config['key']
|
||||||
*args[1] = config['secret']
|
args[1] = config['secret']
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue