mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Allow to update own contact without password
This commit is contained in:
parent
8cc03774ff
commit
430f3e3e58
4 changed files with 44 additions and 12 deletions
|
@ -23,7 +23,6 @@ class Epp::Contact < Contact
|
|||
at[:street] = nil if f.css('postalInfo addr street').present?
|
||||
at[:state] = nil if f.css('postalInfo addr sp').present?
|
||||
at[:country_code] = nil if f.css('postalInfo addr cc').present?
|
||||
at[:auth_info] = nil if f.css('authInfo pw').present?
|
||||
else
|
||||
at[:name] = f.css('postalInfo name').text if f.css('postalInfo name').present?
|
||||
at[:org_name] = f.css('postalInfo org').text if f.css('postalInfo org').present?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue