mirror of
https://github.com/MeshTender/MeshTender.git
synced 2026-10-23 21:43:06 +00:00
Fix error message
This commit is contained in:
1 parent
e3c849da05
commit
6db0436263
1 file changed
+1
-1
@@ -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. ✓")
|
||||
|
||||
Reference in new issue
Block a user