Fixed used variables for basic_auth.

This commit is contained in:
Martin Edenhofer 2014-11-18 15:50:44 +01:00
parent c3c5e91e81
commit 48156373a9

View file

@ -70,7 +70,7 @@ returns
# http basic auth (if needed)
if options[:user] && options[:user] != '' && options[:password] && options[:password] != ''
request.basic_auth user, password
request.basic_auth options[:user], options[:password]
end
begin