Fixed used variables for basic_auth.
This commit is contained in:
parent
c3c5e91e81
commit
48156373a9
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ returns
|
||||||
|
|
||||||
# http basic auth (if needed)
|
# http basic auth (if needed)
|
||||||
if options[:user] && options[:user] != '' && options[:password] && options[:password] != ''
|
if options[:user] && options[:user] != '' && options[:password] && options[:password] != ''
|
||||||
request.basic_auth user, password
|
request.basic_auth options[:user], options[:password]
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in a new issue