mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Fixed contact#info returning wrong EPP error
This commit is contained in:
parent
b046927c95
commit
a0a7b8c7b3
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ module Epp::ContactsHelper
|
|||
## info
|
||||
def validate_contact_info_request # and process
|
||||
@ph = params_hash['epp']['command']['info']['info']
|
||||
xml_attrs_present?(@ph, [['id']])
|
||||
return false unless xml_attrs_present?(@ph, [['id']])
|
||||
@contact = find_contact
|
||||
return false unless @contact
|
||||
return true if current_epp_user.registrar == @contact.registrar || xml_attrs_present?(@ph, [%w(authInfo pw)])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue