1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-08-25 21:49:29 +03:00

bug #2334: Use one_xmlrpc conf parameter in OpenNebulaCloudAuth

This commit is contained in:
Daniel Molina
2013-11-04 13:21:53 +01:00
parent 2af24b2ebc
commit 0505a30438

View File

@ -33,7 +33,7 @@ module OpenNebulaCloudAuth
if auth.provided? && auth.basic?
username, password = auth.credentials
client = OpenNebula::Client.new("#{username}:#{password}")
client = OpenNebula::Client.new("#{username}:#{password}", @conf[:one_xmlrpc])
user = OpenNebula::User.new_with_id(OpenNebula::User::SELF, client)
rc = user.info