From 2c8a4d3fe92a9717131ce80e3be5882fd9049464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Erik=20=C3=95unapuu?= Date: Tue, 8 Dec 2020 18:13:11 +0200 Subject: [PATCH] Fix some styling issues --- app/models/actions/domain_create.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/actions/domain_create.rb b/app/models/actions/domain_create.rb index 6ad79544d..9cff3ce17 100644 --- a/app/models/actions/domain_create.rb +++ b/app/models/actions/domain_create.rb @@ -29,10 +29,8 @@ module Actions dn = DNS::DomainName.new(SimpleIDN.to_unicode(params[:name].strip.downcase)) if dn.at_auction? domain.add_epp_error('2306', nil, nil, 'Parameter value policy error: domain is at auction') - return elsif dn.awaiting_payment? domain.add_epp_error('2003', nil, nil, 'Required parameter missing; reserved>pw element required for reserved domains') - return elsif dn.pending_registration? if params[:reserved_pw].blank? domain.add_epp_error('2003', nil, nil, 'Required parameter missing; reserved>pw element is required')