gitea/modules/context
Wim 2a48833f93
Respond with a 401 on git push when password isn't changed yet (#20027)
Fixes #19090

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

Co-authored-by: 6543 <6543@obermui.de>
2022-06-19 20:02:18 +03:00
..
access_log.go
api_org.go
api_test.go
api.go Call MultipartForm.RemoveAll when request finishes (#19606) 2022-05-05 16:13:23 +02:00
auth.go Respond with a 401 on git push when password isn't changed yet (#20027) 2022-06-19 20:02:18 +03:00
captcha.go
context.go Call MultipartForm.RemoveAll when request finishes (#19606) 2022-05-05 16:13:23 +02:00
csrf.go
form.go
org.go Only show accessible teams in dashboard dropdown list (#19642) 2022-05-07 17:49:43 +02:00
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 Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
private.go Call MultipartForm.RemoveAll when request finishes (#19606) 2022-05-05 16:13:23 +02:00
repo.go Return 404 when tag is broken (#20024) 2022-06-18 20:29:29 +02:00
response.go
utils.go Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
xsrf_test.go
xsrf.go