Allow users to choose detailed error messages on error pages

This commit is contained in:
Joel Speed
2021-02-12 21:12:28 +00:00
committed by Joel Speed
parent a63ed0225c
commit 6ecbc7bc4e
5 changed files with 111 additions and 17 deletions
+1 -1
View File
@@ -2815,7 +2815,7 @@ func TestProxyAllowedGroups(t *testing.T) {
test.proxy.ServeHTTP(test.rw, test.req)
if tt.expectUnauthorized {
assert.Equal(t, http.StatusUnauthorized, test.rw.Code)
assert.Equal(t, http.StatusForbidden, test.rw.Code)
} else {
assert.Equal(t, http.StatusOK, test.rw.Code)
}