Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Remove embed support from password-protected shared links
Uku Tahtcc2a34758c00
diff --git a/lib/plausible_web/controllers/stats_controller.ex b/lib/plausible_web/controllers/stats_controller.exindex f19739ac77..7becf8aa41 100644--- a/lib/plausible_web/controllers/stats_controller.ex+++ b/lib/plausible_web/controllers/stats_controller.ex@@ -82,7 +82,6 @@ defmodule PlausibleWeb.StatsController do_e ->conn|> assign(:skip_plausible_tracking, true)- |> delete_resp_header("x-frame-options")|> render("shared_link_password.html",link: shared_link,layout: {PlausibleWeb.LayoutView, "focus.html"}@@ -117,12 +116,10 @@ defmodule PlausibleWeb.StatsController doconn|> put_resp_cookie("shared-link-token", token)- |> delete_resp_header("x-frame-options")|> redirect(to: "/share/#{URI.encode_www_form(shared_link.site.domain)}?auth=#{slug}")elseconn|> assign(:skip_plausible_tracking, true)- |> delete_resp_header("x-frame-options")|> render("shared_link_password.html",link: shared_link,error: "Incorrect password. Please try again.",