mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Fix some styling issues
This commit is contained in:
parent
ad2ccdba7d
commit
2c8a4d3fe9
1 changed files with 0 additions and 2 deletions
|
@ -29,10 +29,8 @@ module Actions
|
||||||
dn = DNS::DomainName.new(SimpleIDN.to_unicode(params[:name].strip.downcase))
|
dn = DNS::DomainName.new(SimpleIDN.to_unicode(params[:name].strip.downcase))
|
||||||
if dn.at_auction?
|
if dn.at_auction?
|
||||||
domain.add_epp_error('2306', nil, nil, 'Parameter value policy error: domain is at auction')
|
domain.add_epp_error('2306', nil, nil, 'Parameter value policy error: domain is at auction')
|
||||||
return
|
|
||||||
elsif dn.awaiting_payment?
|
elsif dn.awaiting_payment?
|
||||||
domain.add_epp_error('2003', nil, nil, 'Required parameter missing; reserved>pw element required for reserved domains')
|
domain.add_epp_error('2003', nil, nil, 'Required parameter missing; reserved>pw element required for reserved domains')
|
||||||
return
|
|
||||||
elsif dn.pending_registration?
|
elsif dn.pending_registration?
|
||||||
if params[:reserved_pw].blank?
|
if params[:reserved_pw].blank?
|
||||||
domain.add_epp_error('2003', nil, nil, 'Required parameter missing; reserved>pw element is required')
|
domain.add_epp_error('2003', nil, nil, 'Required parameter missing; reserved>pw element is required')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue