diff --git a/app/controllers/finance/bank_gateways_controller.rb b/app/controllers/finance/bank_gateways_controller.rb index 361a59081..a1659698d 100644 --- a/app/controllers/finance/bank_gateways_controller.rb +++ b/app/controllers/finance/bank_gateways_controller.rb @@ -21,7 +21,7 @@ def import return deny_access if reconfigure && !@bank_gateway.can_reconfigure?(current_user) location = @bank_gateway.connector.pay_and_import_url callback_uri, user, nil, reconfigure: reconfigure - redirect_to location, status: :found + redirect_to location, status: :found, allow_other_host:true rescue => error redirect_to finance_bank_account_transactions_url(bank_account), alert: t('errors.general_msg', msg: error.message) end