Remove the fixed Account Type row from the profile page (closes #401)
check / check (push) Successful in 5m23s

The profile page showed "Account Type: Standard User" as fixed text,
even for admin, the account webhooker creates as its administrator.
webhooker has no account types, so the row is gone. The own-profile
test now checks that the page renders its Account Information section
without an Account Type row.

Model: opus-5-5
This commit is contained in:
2026-10-01 20:38:26 +00:00
parent 507980a347
commit 5a03cf3304
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -88,6 +88,8 @@ func TestHandleProfile_OwnProfile_OK(t *testing.T) {
h.HandleProfile().ServeHTTP(w, req)
assert.Equal(t, http.StatusOK, w.Code)
assert.Contains(t, w.Body.String(), "Account Information")
assert.NotContains(t, w.Body.String(), "Account Type")
}
func TestHandleProfile_OtherProfile_Forbidden(t *testing.T) {