From be64143db683b607e474f8e0bf52b6f1f25046f8 Mon Sep 17 00:00:00 2001 From: Stas Date: Fri, 13 Nov 2015 16:20:45 +0200 Subject: [PATCH] 105361584-no access for ident and pass --- app/views/epp/contacts/info.xml.builder | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/views/epp/contacts/info.xml.builder b/app/views/epp/contacts/info.xml.builder index d29e60298..24b37a13f 100644 --- a/app/views/epp/contacts/info.xml.builder +++ b/app/views/epp/contacts/info.xml.builder @@ -62,6 +62,10 @@ xml.epp_head do xml.tag!('contact:authInfo') do xml.tag!('contact:pw', @contact.auth_info) end + else + xml.tag!('contact:authInfo') do + xml.tag!('contact:pw', 'No access') + end end # xml << render('/epp/contacts/disclosure_policy') end @@ -73,6 +77,12 @@ xml.epp_head do type: @contact.ident_type, cc: @contact.ident_country_code) 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 render('epp/shared/trID', builder: xml)