mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Merge branch 'master' of github.com:domify/registry
This commit is contained in:
commit
13b60d39ce
1 changed files with 3 additions and 2 deletions
|
@ -395,7 +395,7 @@ class Epp::Domain < Domain
|
||||||
at[:domain_statuses_attributes] += at_add[:domain_statuses_attributes]
|
at[:domain_statuses_attributes] += at_add[:domain_statuses_attributes]
|
||||||
|
|
||||||
if frame.css('registrant').present? && frame.css('registrant').attr('verified').to_s.downcase != 'yes'
|
if frame.css('registrant').present? && frame.css('registrant').attr('verified').to_s.downcase != 'yes'
|
||||||
registrant_verification_asked!
|
registrant_verification_asked!
|
||||||
end
|
end
|
||||||
self.deliver_emails = true # turn on email delivery for epp
|
self.deliver_emails = true # turn on email delivery for epp
|
||||||
|
|
||||||
|
@ -415,7 +415,7 @@ class Epp::Domain < Domain
|
||||||
return false unless valid?
|
return false unless valid?
|
||||||
|
|
||||||
if frame.css('delete').attr('verified').to_s.downcase != 'yes'
|
if frame.css('delete').attr('verified').to_s.downcase != 'yes'
|
||||||
registrant_verification_asked!
|
registrant_verification_asked!
|
||||||
pending_delete!
|
pending_delete!
|
||||||
manage_automatic_statuses
|
manage_automatic_statuses
|
||||||
true # aka 1001 pending_delete
|
true # aka 1001 pending_delete
|
||||||
|
@ -550,6 +550,7 @@ class Epp::Domain < Domain
|
||||||
return dt
|
return dt
|
||||||
rescue => _e
|
rescue => _e
|
||||||
add_epp_error('2306', nil, nil, I18n.t('action_failed_due_to_server_error'))
|
add_epp_error('2306', nil, nil, I18n.t('action_failed_due_to_server_error'))
|
||||||
|
logger.error(e)
|
||||||
raise ActiveRecord::Rollback
|
raise ActiveRecord::Rollback
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue