mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-17 02:03:15 +09:00
bug #2334: Use one_xmlrpc conf parameter in OpenNebulaCloudAuth
This commit is contained in:
1 parent
2af24b2ebc
commit
0505a30438
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user