0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-19 02:40:00 +01:00
gitea/modules/context
Wim e91229eefb
Respond with a 401 on git push when password isn't changed yet (#20026)
If the user-agent starts with git and user must change password but
hasn't return a 401 with the message.

It must be a 401, git doesn't seem to show the contents of the error message
when we return a 403

Fixes #19090
2022-06-19 20:23:00 +01:00
..
access_log.go
api_org.go
api_test.go
api.go
auth.go Respond with a 401 on git push when password isn't changed yet (#20026) 2022-06-19 20:23:00 +01:00
captcha.go
context.go
csrf.go
form.go
org.go
package.go Fix org package owner permissions (#19742) 2022-05-19 17:56:45 +02:00
pagination.go Remove tab/TabName usage where it's not needed (#19973) 2022-06-15 23:05:32 +08:00
permission.go
private.go
repo.go Return 404 when tag is broken (#20017) 2022-06-18 19:08:34 +02:00
response.go
utils.go
xsrf_test.go
xsrf.go