105361584-no access for ident and pass

This commit is contained in:
Stas 2015-11-13 16:20:45 +02:00 committed by Matt Farnsworth
parent 091ce79dd8
commit be64143db6

View file

@ -62,6 +62,10 @@ xml.epp_head do
xml.tag!('contact:authInfo') do xml.tag!('contact:authInfo') do
xml.tag!('contact:pw', @contact.auth_info) xml.tag!('contact:pw', @contact.auth_info)
end end
else
xml.tag!('contact:authInfo') do
xml.tag!('contact:pw', 'No access')
end
end end
# xml << render('/epp/contacts/disclosure_policy') # xml << render('/epp/contacts/disclosure_policy')
end end
@ -73,6 +77,12 @@ xml.epp_head do
type: @contact.ident_type, cc: @contact.ident_country_code) type: @contact.ident_type, cc: @contact.ident_country_code)
end end
end end
else
xml.tag!('extension') do
xml.tag!('eis:extdata', 'xmlns:eis' => 'https://epp.tld.ee/schema/eis-1.0.xsd') do
xml.tag!('eis:ident', 'No access')
end
end
end end
render('epp/shared/trID', builder: xml) render('epp/shared/trID', builder: xml)