Remove the fixed Account Type row from the profile page (closes #401)
check / check (push) Waiting to run

The profile page no longer shows the fixed "Account Type: Standard User" row. webhooker has one account, the administrator it creates, and no account types, so the row was untrue. The Account Information section now lists the username alone, and a test checks the row stays gone.

Model: opus-5-5
This commit was merged in pull request #405.
This commit is contained in:
2026-10-01 23:24:41 +02:00
parent 9d29baaa2d
commit a56f1fe0c8
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) {