mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-28 19:18:52 +01:00
7c11a73833
I noticed an admin is not allowed to upload packages for other users because `ctx.IsSigned` was not set. I added a check for `user.IsActive` and `user.ProhibitLogin` too because both was not checked. Tests enforce this now. Co-authored-by: Lauris BH <lauris@nix.lv> |
||
---|---|---|
.. | ||
composer | ||
conan | ||
container | ||
generic | ||
helm | ||
helper | ||
maven | ||
npm | ||
nuget | ||
pub | ||
pypi | ||
rubygems | ||
vagrant | ||
api.go |