Allow registrar to see other registrars domains

This commit is contained in:
Martin Lensment 2015-04-02 12:23:05 +03:00
parent daa4fd16c9
commit 1333a4ffe4
3 changed files with 32 additions and 4 deletions

View file

@ -52,8 +52,10 @@ xml.epp_head do
# TODO Make domain transferrable
#xml.tag!('domain:trDate', @domain.transferred_at) if @domain.transferred_at
xml.tag!('domain:authInfo') do
xml.tag!('domain:pw', @domain.auth_info)
if can? :view_password, @domain, @password
xml.tag!('domain:authInfo') do
xml.tag!('domain:pw', @domain.auth_info)
end
end
end
end