mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Rubocop syntax fix
This commit is contained in:
parent
b38f195af6
commit
62f8061e10
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class Epp::DomainsController < EppController
|
||||||
|
|
||||||
return domain if domain.auth_info == params[:parsed_frame].css('authInfo pw').text
|
return domain if domain.auth_info == params[:parsed_frame].css('authInfo pw').text
|
||||||
|
|
||||||
if (domain.registrar != current_user.registrar && secure[:secure] == true) &&
|
if (domain.registrar != current_api_user.registrar) && secure[:secure] == true
|
||||||
epp_errors << {
|
epp_errors << {
|
||||||
code: '2302',
|
code: '2302',
|
||||||
msg: I18n.t('errors.messages.domain_exists_but_belongs_to_other_registrar'),
|
msg: I18n.t('errors.messages.domain_exists_but_belongs_to_other_registrar'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue