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
|
||||
puts 'FacebookDatabase -> initialize'
|
||||
config = Setting.get('auth_facebook_credentials') || {}
|
||||
*args[0] = config['app_id']
|
||||
*args[1] = config['app_secret']
|
||||
args[0] = config['app_id']
|
||||
args[1] = config['app_secret']
|
||||
super
|
||||
end
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ module OmniAuth
|
|||
# database lookup
|
||||
puts 'TwitterDatabase -> initialize'
|
||||
config = Setting.get('auth_twitter_credentials') || {}
|
||||
*args[0] = config['key']
|
||||
*args[1] = config['secret']
|
||||
args[0] = config['key']
|
||||
args[1] = config['secret']
|
||||
super
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue