fix(login): Remove option to login with FC

This commit is contained in:
Bowrna 2026-03-29 17:11:01 +05:30
parent 05489dbd2b
commit 3e9be575cd

View file

@ -112,11 +112,7 @@ def get_context(context):
context["login_label"] = f" {_('or')} ".join(login_label) context["login_label"] = f" {_('or')} ".join(login_label)
context["login_with_email_link"] = frappe.get_system_settings("login_with_email_link") context["login_with_email_link"] = frappe.get_system_settings("login_with_email_link")
context["login_with_frappe_cloud_url"] = ( context["login_with_frappe_cloud_url"] = None
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
)
return context return context