mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Merge remote-tracking branch 'origin/master' into 113524121-legal_doc_min_size
# Conflicts: # public/assets/.sprockets-manifest-48c2dd3ff16b86b70040480e74a50543.json # public/assets/registrant-manifest.js # public/assets/registrar-manifest.css # public/assets/registrar-manifest.js # public/assets/registrar/application.js
This commit is contained in:
commit
0a5428f2ee
259 changed files with 2592 additions and 426072 deletions
|
@ -489,6 +489,15 @@ class Epp::Domain < Domain
|
|||
|
||||
# at[:statuses] += at_add[:domain_statuses_attributes]
|
||||
|
||||
if registrant_id && registrant.code == frame.css('registrant')
|
||||
|
||||
throw :epp_error, {
|
||||
code: '2305',
|
||||
msg: I18n.t(:contact_already_associated_with_the_domain)
|
||||
}
|
||||
|
||||
end
|
||||
|
||||
if errors.empty? && verify &&
|
||||
Setting.request_confrimation_on_registrant_change_enabled &&
|
||||
frame.css('registrant').present? &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue