From 2db7f6a9dfb8d1d17a21a9160407bdcc47836d6b Mon Sep 17 00:00:00 2001 From: Dan Milne Date: Fri, 24 Oct 2025 16:27:05 +1100 Subject: [PATCH] Don't use turbo when we expect to redirect --- app/views/oidc/consent.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/oidc/consent.html.erb b/app/views/oidc/consent.html.erb index d993a41..d0312c0 100644 --- a/app/views/oidc/consent.html.erb +++ b/app/views/oidc/consent.html.erb @@ -57,7 +57,7 @@ - <%= form_with url: oauth_consent_path, method: :post, class: "space-y-3" do |form| %> + <%= form_with url: oauth_consent_path, method: :post, class: "space-y-3", data: { turbo: false } do |form| %> <%= form.submit "Authorize", class: "w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" %>