Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

mix format

Uku Tahtcfc81bc785c2
diff --git a/lib/plausible_web/controllers/auth_controller.ex b/lib/plausible_web/controllers/auth_controller.ex
index 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 do
def activate_form(conn, _params) do
user = 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?(