From 92b8c1068eb9cce985eb5e7a87f2805d5ee8435a Mon Sep 17 00:00:00 2001 From: Jonathon Leight Date: Tue, 23 Jun 2026 19:35:39 -0400 Subject: [PATCH] Get rid of phantom 4th step --- internal/core/repeaters.go | 11 +++++------ internal/core/templates/repeater_added.html | 9 ++++----- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/internal/core/repeaters.go b/internal/core/repeaters.go index 419274e..4f12d57 100644 --- a/internal/core/repeaters.go +++ b/internal/core/repeaters.go @@ -102,9 +102,9 @@ func addErr(w http.ResponseWriter, r *http.Request, msg string) { web.RedirectErr(w, r, "/repeaters/add?step=details", msg) } -// pageRepeaterAdded is the wizard's final two steps for a freshly-added -// repeater: optionally confirm it with a modem now, and optionally contribute -// it to an organization the owner belongs to. +// pageRepeaterAdded is the wizard's final step (step 3) for a freshly-added +// repeater: optionally confirm it with a modem now, and manage which organizations +// it's shared with. People-sharing lives on the repeater's own sharing page. func (s *Handlers) pageRepeaterAdded(w http.ResponseWriter, r *http.Request) { uid := s.Auth.CurrentUserID(r.Context()) rep, _, ok := s.requireRepeaterOwned(w, r) @@ -117,9 +117,8 @@ func (s *Handlers) pageRepeaterAdded(w http.ResponseWriter, r *http.Request) { return } s.Render(w, r, "repeater_added.html", map[string]any{ - "Repeater": rep, - "Orgs": orgs, - "RevokeCommand": s.Identity.RevokePermCommand(), + "Repeater": rep, + "Orgs": orgs, }) } diff --git a/internal/core/templates/repeater_added.html b/internal/core/templates/repeater_added.html index 382abe4..1e5bd50 100644 --- a/internal/core/templates/repeater_added.html +++ b/internal/core/templates/repeater_added.html @@ -10,15 +10,14 @@

{{template "icon-check" "me-1 text-success"}}“{{.Repeater.Name}}” added

- It's registered but unconfirmed — MeshTender hasn't reached it yet. The two steps + It's registered but unconfirmed — MeshTender hasn't reached it yet. Both options below are optional; your repeater is already usable by anyone you share it with.

@@ -26,7 +25,7 @@
-

Step 3 · Confirm it works (optional)

+

Confirm it works (optional)

Connect a MeshCore KISS modem and have MeshTender login to verify it has admin access. Confirming now marks it Self-confirmed. Later, if another member reaches it @@ -43,7 +42,7 @@

-

Step 4 · Organizations (optional)

+

Organizations (optional)

{{if .Orgs}}

This repeater is now shared with the organizations you belong to, so their admins and members can run