Revert "Send adminUsername in /settings again"

This reverts commit c846345a1c.
This commit is contained in:
Daniel Redetzke
2026-10-05 08:54:04 +03:00
parent c846345a1c
commit 38a3804b8a
2 changed files with 0 additions and 7 deletions
-4
View File
@@ -350,10 +350,6 @@ func TestAPI(t *testing.T) {
bearer("POST", "/tokens", 403, map[string]string{"name": "more", "scope": "rw"})
bearer("DELETE", "/tokens/"+tok["id"].(string), 403)
bearer("GET", "/backup", 403)
// Older iOS app builds cannot decode /settings without it.
if call("GET", "/settings", nil, 200)["adminUsername"] != "admin" {
t.Fatal("/settings lacks adminUsername")
}
call("DELETE", "/peers/"+id, nil, 200)
if len(store.Get().Peers) != 0 {