Remove auth info from domain create builder

This commit is contained in:
Martin Lensment 2014-09-04 10:48:59 +03:00
parent 6352ed340f
commit 1bf886a6bf
3 changed files with 3 additions and 15 deletions

View file

@ -84,10 +84,6 @@ module Epp
xml_params[:contacts].each do |x|
xml.tag!('domain:contact', x[:contact_value], 'type' => (x[:contact_type]))
end if xml_params[:contacts].any?
xml.tag!('domain:authInfo') do
xml.tag!('domain:pw', xml_params[:pw] || '2fooBAR')
end if xml_params[:authInfo] != false
end
end
xml.clTRID 'ABC-12345'