From 7cf59a88abbaedee1bfa88d01da042c8a37308d3 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 25 Jan 2026 16:17:25 -0600 Subject: [PATCH] require superuser for livedashboard --- lib/towerops_web/router.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/towerops_web/router.ex b/lib/towerops_web/router.ex index 8a9b8bdb..fdada219 100644 --- a/lib/towerops_web/router.ex +++ b/lib/towerops_web/router.ex @@ -103,7 +103,7 @@ defmodule ToweropsWeb.Router do # Enable LiveDashboard in production with authentication scope "/dashboard" do - pipe_through [:browser, :require_authenticated_user] + pipe_through [:browser, :require_authenticated_user, :require_superuser] live_dashboard "/", metrics: ToweropsWeb.Telemetry,