Remove registrant portal code

This commit is contained in:
Karl Erik Õunapuu 2021-02-18 15:15:40 +02:00
parent 752bdedf1e
commit bb8539596a
No known key found for this signature in database
GPG key ID: C9DD647298A34764
49 changed files with 2 additions and 1777 deletions

View file

@ -6,10 +6,6 @@ class ApplicationMailer < ActionMailer::Base
token = domain.registrant_verification_token
base_url = ENV['registrant_portal_verifications_base_url']
url = registrant_domain_delete_confirm_url(domain, token: token) if method == 'delete'
url ||= registrant_domain_update_confirm_url(domain, token: token)
return url if base_url.blank?
"#{base_url}/confirmation/#{domain.name_puny}/#{method}/#{token}"
end
end