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

@ -34,8 +34,8 @@ class Epp::DomainsController < EppController
authorize! :update, @domain, @password
if @domain.update(params[:parsed_frame], current_user)
if @domain.pending_update?
render_epp_response '/epp/domains/success_pending'
if @domain.epp_pending_update.present?
render_epp_response '/epp/shared/success_pending'
else
render_epp_response '/epp/domains/success'
end