Skip to content

Commit 0d78551

Browse files
authored
Merge pull request frappe#38290 from frappe/change_fc_login_option
fix(login): Redirect to FC dashboard site page
2 parents 44814c8 + 207c9b4 commit 0d78551

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frappe/integrations/frappe_providers/frappecloud_billing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_base_url():
1414

1515

1616
def get_site_login_url():
17-
return f"{get_base_url()}/dashboard/site-login"
17+
return f"{get_base_url()}/dashboard/login"
1818

1919

2020
def get_site_name():

frappe/www/login.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get_context(context):
113113

114114
context["login_with_email_link"] = frappe.get_system_settings("login_with_email_link")
115115
context["login_with_frappe_cloud_url"] = (
116-
f"{get_site_login_url()}?site={frappe.local.site}"
116+
f"{get_site_login_url()}?redirect=/dashboard/sites/{frappe.local.site}/insights/overview"
117117
if on_frappecloud() and frappe.conf.get("fc_communication_secret")
118118
else None
119119
)

0 commit comments

Comments
 (0)