Load the telemetry plugin for signed-in sessions only
Hanzo CI/CD / cicd (push) Waiting to run
CI/CD / cicd (push) Waiting to run

Frappe refuses the telemetry switch to guests, so a guest opening the
Help Center no longer sends a request that answers 403.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
zooqueen
2026-09-15 12:20:30 -07:00
co-authored by Hanzo Dev
parent db583d7833
commit 93d133b285
+4 -1
View File
@@ -66,7 +66,10 @@ app.use(FrappeUI);
app.use(pinia);
app.use(router);
app.use(translationPlugin);
app.use(telemetryPlugin, { app_name: "helpdesk" });
// Frappe answers the telemetry switch for signed-in users only.
if (window.session_user !== "Guest") {
app.use(telemetryPlugin, { app_name: "helpdesk" });
}
for (const c in globalComponents) {
app.component(c, globalComponents[c]);