Closed
Description
Description
when git push.
(pre-receive hook declined) error: failed to push some refs to "xxx"]
but the gitea console error msg:
401 Unauthorized in 3.4ms @ repo/http.go:532(repo.GetInfoRefs).
use gitea 1.17.3 no problem!
Gitea Version
1.18.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
repo/http.go
Screenshots
http.go
line 532
h := httpBase(ctx)
then line 159
if !ctx.IsSigned {
// TODO: support digit auth - which would be Authorization header with digit
ctx.Resp.Header().Set("WWW-Authenticate", "Basic realm="."")
ctx.Error(http.StatusUnauthorized)
return
}
Git Version
2.38.1
Operating System
windows
How are you running Gitea?
gitea.exe web
Database
PostgreSQL