From cbe9ec26bd4e13f2d89f71ca246d17ff9b55bf85 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 17 Jul 2023 15:48:30 +0530 Subject: [PATCH] fix: do not show Home primary button --- frappe/integrations/oauth2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/integrations/oauth2.py b/frappe/integrations/oauth2.py index 39f98e2f1b..7abcfb5655 100644 --- a/frappe/integrations/oauth2.py +++ b/frappe/integrations/oauth2.py @@ -113,7 +113,7 @@ def authorize(**kwargs): resp_html = frappe.render_template( "templates/includes/oauth_confirmation.html", response_html_params ) - frappe.respond_as_web_page("Confirm Access", resp_html) + frappe.respond_as_web_page("Confirm Access", resp_html, primary_action=None) except (FatalClientError, OAuth2Error) as e: return generate_json_error_response(e)