1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-09 19:18:20 +00:00
Yarden Shoham
2023-02-26 14:20:44 +02:00
committed by GitHub
parent 27879bc45e
commit 1bc4ffc337

View File

@@ -228,7 +228,7 @@ func httpBase(ctx *context.Context) (h *serviceHandler) {
}
if !p.CanAccess(accessMode, unitType) {
ctx.PlainText(http.StatusForbidden, "User permission denied")
ctx.PlainText(http.StatusNotFound, "Repository not found")
return
}
}