mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Added registrant successful email confirmation #2557
This commit is contained in:
parent
9f2d87606d
commit
8102b8f1a2
11 changed files with 169 additions and 18 deletions
|
@ -398,7 +398,11 @@ class Epp::Domain < Domain
|
|||
frame = Nokogiri::XML(pending_json['frame'])
|
||||
statuses.delete(DomainStatus::PENDING_UPDATE)
|
||||
|
||||
clean_pendings! if update(frame, user, false)
|
||||
if update(frame, user, false)
|
||||
clean_pendings!
|
||||
self.deliver_emails = true # turn on email delivery for epp
|
||||
DomainMailer.registrant_updated(self).deliver_now
|
||||
end
|
||||
end
|
||||
|
||||
def apply_pending_delete!
|
||||
|
@ -429,7 +433,7 @@ class Epp::Domain < Domain
|
|||
manage_automatic_statuses
|
||||
true # aka 1001 pending_delete
|
||||
else
|
||||
destroy
|
||||
set_expired!
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue