Fix error message

This commit is contained in:
Jonathon Leight committed 2026-07-01 18:38:43 -04:00
1 parent e3c849da05
commit 6db0436263
1 file changed
+1 -1
+1 -1
View File
@@ -174,7 +174,7 @@ func (s *Handlers) wsConfirm(w http.ResponseWriter, r *http.Request) {
if !lr.IsAdmin {
// Guests can't run CLI commands (including get lat/lon), so there's
// nothing more to do — stop here rather than fruitlessly querying.
_ = bridge.Status("warning", fmt.Sprintf("Repeater reached, but MeshTender only has GUEST access (permissions=%d). Guest is open to anyone with a blank password, so MeshTender can't administer this repeater — re-run `setperm <key> 3` to grant admin.", lr.Permissions))
_ = bridge.Status("warning", fmt.Sprintf("Repeater reached, but MeshTender only has GUEST access (permissions=%d). Guest is open to anyone with a blank password, so MeshTender can't administer this repeater — re-run `%s` to grant admin.", lr.Permissions, s.Identity.SetPermCommand()))
return
}
_ = bridge.Status("confirmed", "Repeater reached with admin access. ✓")