aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2024-08-22 22:01:57 -0700
committerMax Resnick <max@ofmax.li>2024-08-22 22:01:57 -0700
commit36aef9af1a7ac878d8d7c1fb9c359f14d232dd3f (patch)
tree3689e4a4aca0f1d020c9938116dae9f98a81dd66 /internal
parent100c673c3a95827698758139f887a3e744231c42 (diff)
downloadgo-git-server-36aef9af1a7ac878d8d7c1fb9c359f14d232dd3f.tar.gz
fix: add tests for anon
Diffstat (limited to 'internal')
-rw-r--r--internal/authz/middleware.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/authz/middleware.go b/internal/authz/middleware.go
index 2aa4ba7..3ba95ad 100644
--- a/internal/authz/middleware.go
+++ b/internal/authz/middleware.go
@@ -76,7 +76,6 @@ func Authorization(adminSvc *admin.Servicer, next http.Handler) http.Handler {
slog.Info("Not Authorized", "urn", urn, "repo", repo)
http.Error(rw, "Access denied", http.StatusForbidden)
return
-
}
slog.Debug("Access Attempt", "action", action, "repo", repo)
next.ServeHTTP(rw, req.WithContext(ctx))