mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 03:30:33 +02:00
Mailer: Enable registrant confirm actions via REST
This commit is contained in:
parent
6e1a836c97
commit
4eaa8065ba
3 changed files with 10 additions and 1 deletions
|
@ -53,7 +53,12 @@ class DomainDeleteMailer < ApplicationMailer
|
|||
private
|
||||
|
||||
def confirmation_url(domain)
|
||||
registrant_domain_delete_confirm_url(domain, token: domain.registrant_verification_token)
|
||||
base_url = ENV['registrant_portal_verifications_base_url']
|
||||
if base_url.blank?
|
||||
registrant_domain_delete_confirm_url(domain, token: domain.registrant_verification_token)
|
||||
else
|
||||
"#{base_url}/confirmation/#{domain.name_puny}/#{domain.registrant_verification_token}"
|
||||
end
|
||||
end
|
||||
|
||||
def forced_email_from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue