mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
Allow registrar to see other registrars domains
This commit is contained in:
parent
daa4fd16c9
commit
1333a4ffe4
3 changed files with 32 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue