From 3e9be575cd5a646475b6e9892dc4b35cf1113b38 Mon Sep 17 00:00:00 2001 From: Bowrna Date: Sun, 29 Mar 2026 17:11:01 +0530 Subject: [PATCH] fix(login): Remove option to login with FC --- frappe/www/login.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frappe/www/login.py b/frappe/www/login.py index 417c783426..91405f2245 100644 --- a/frappe/www/login.py +++ b/frappe/www/login.py @@ -112,11 +112,7 @@ def get_context(context): context["login_label"] = f" {_('or')} ".join(login_label) context["login_with_email_link"] = frappe.get_system_settings("login_with_email_link") - context["login_with_frappe_cloud_url"] = ( - f"{get_site_login_url()}?redirect=/dashboard/sites/{frappe.local.site}/insights/overview" - if on_frappecloud() and frappe.conf.get("fc_communication_secret") - else None - ) + context["login_with_frappe_cloud_url"] = None return context