yp05327 1 year ago committed by GitHub
parent 357042279b
commit f1bde2fe00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save