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
mix format
Uku Tahtcfc81bc785c2
diff --git a/lib/plausible_web/controllers/auth_controller.ex b/lib/plausible_web/controllers/auth_controller.exindex 8849792a26..de2b5d57b4 100644--- a/lib/plausible_web/controllers/auth_controller.ex+++ b/lib/plausible_web/controllers/auth_controller.ex@@ -135,10 +135,11 @@ defmodule PlausibleWeb.AuthController dodef activate_form(conn, _params) douser = conn.assigns[:current_user]- has_invitation = Repo.exists?(- from i in Plausible.Auth.Invitation,- where: i.email == ^user.email- )+ has_invitation =+ Repo.exists?(+ from i in Plausible.Auth.Invitation,+ where: i.email == ^user.email+ )has_code =Repo.exists?(