mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-15 09:13:15 +09:00
feature #3748: conf param for xmlrpc endpoint
This commit is contained in:
1 parent
8b36ef0a09
commit
ff50d6ee58
1 file changed
+1
-1
@@ -112,7 +112,7 @@ before do
|
||||
if auth.provided? && auth.basic?
|
||||
username, password = auth.credentials
|
||||
|
||||
@client = OpenNebula::Client.new("#{username}:#{password}")
|
||||
@client = OpenNebula::Client.new("#{username}:#{password}", conf[:one_xmlrpc])
|
||||
else
|
||||
error 401, "A username and password must be provided"
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user