Fixed setting of new arguments.

This commit is contained in:
Martin Edenhofer 2012-04-18 10:33:23 +02:00
parent de09b4e04f
commit 900fb35e5b
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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