Registrant change now requires EPP verify attribute

This commit is contained in:
Priit Tark 2015-05-18 14:48:32 +03:00
parent 7d0365974e
commit d72cbc20f5
21 changed files with 318 additions and 29 deletions

View file

@ -4,11 +4,7 @@ class Registrant::DomainUpdateConfirmsController < RegistrantController
def show
@domain = Domain.find(params[:id])
# if @domain.present? && params[:token].present? && @domain.registrant_verification_token == params[:token]
# else
# @domain = nil
# end
@domain = nil unless @domain.registrant_update_confirmable?(params[:token])
end
def create