mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-10 01:17:40 +03:00
F #2244: dummy auth driver returns dummy as auth method for new users
This commit is contained in:
parent
ebc838fedc
commit
11e029f82d
@ -32,6 +32,8 @@ require 'rexml/document'
|
||||
require 'opennebula/error'
|
||||
require 'opennebula/xml_utils'
|
||||
|
||||
AUTH_DRIVER = "dummy"
|
||||
|
||||
begin
|
||||
xml = OpenNebula::XMLElement.new
|
||||
xml.initialize_xml(STDIN.read, 'AUTHN')
|
||||
@ -44,4 +46,4 @@ rescue
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
puts "core #{user} #{secret}"
|
||||
puts "#{AUTH_DRIVER} #{user} #{secret}"
|
||||
|
Loading…
Reference in New Issue
Block a user