From 4ba5f2a9909cc55ff2fad0266240995d38128868 Mon Sep 17 00:00:00 2001 From: Martin Ortbauer Date: Wed, 21 Feb 2024 19:15:54 -0500 Subject: [PATCH] add allow_other_host to 1 more banking redirects --- app/controllers/finance/invoices_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/finance/invoices_controller.rb b/app/controllers/finance/invoices_controller.rb index c0f82c5e0..6dcdcdd19 100644 --- a/app/controllers/finance/invoices_controller.rb +++ b/app/controllers/finance/invoices_controller.rb @@ -125,7 +125,7 @@ def pay callback_url = callback_finance_bank_gateway_url(bank_gateway) user = bank_gateway.unattended_user != current_user && current_user location = bank_gateway.connector.pay_and_import_url callback_url, user, { sepaCreditTransferPayments: payments } - redirect_to location, status: :found + redirect_to location, status: :found, allow_other_host: true end private