yp05327
2023-02-26 18:22:42 +08:00
committed by GitHub
co-authored by Lunny Xiao
parent 357042279b
commit f1bde2fe00
+1 -1
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
}
}