diff --git a/.reek b/.reek index 0d5c66aa3..d7d39a198 100644 --- a/.reek +++ b/.reek @@ -191,7 +191,6 @@ DuplicateMethodCall: - Registrant::SessionsController#mid_status - Registrant::WhoisController#index - Registrar::AccountActivitiesController#index - - Registrar::BaseController#check_ip - Registrar::ContactsController#download_list - Registrar::ContactsController#index - Registrar::ContactsController#normalize_search_parameters @@ -667,7 +666,6 @@ TooManyStatements: - Registrant::SessionsController#mid - Registrant::SessionsController#mid_status - Registrar::AccountActivitiesController#index - - Registrar::BaseController#check_ip - Registrar::ContactsController#download_list - Registrar::ContactsController#index - Registrar::ContactsController#normalize_search_parameters diff --git a/app/controllers/registrar/payments_controller.rb b/app/controllers/registrar/payments_controller.rb index 696dbbc7e..18c892ea7 100644 --- a/app/controllers/registrar/payments_controller.rb +++ b/app/controllers/registrar/payments_controller.rb @@ -3,7 +3,7 @@ class Registrar protect_from_forgery except: :back skip_authorization_check # actually anyone can pay, no problems at all - skip_before_action :authenticate_user!, :check_ip, only: [:back] + skip_before_action :authenticate_user!, :check_ip_restriction, only: [:back] before_action :check_bank # to handle existing model we should diff --git a/doc/controllers_complete.svg b/doc/controllers_complete.svg index 765d4a08b..dcf736019 100644 --- a/doc/controllers_complete.svg +++ b/doc/controllers_complete.svg @@ -492,7 +492,6 @@ _layout -check_ip role_base_root_url