Skip to content

Commit

Permalink
add allow_other_host to 1 more banking redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbauer committed Feb 22, 2024
1 parent 94df8ad commit 4ba5f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/finance/invoices_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ba5f2a

Please sign in to comment.