mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This PR adds a middleware which sets a ContextUser (like GetUserByParams before) in a single place which can be used by other methods. For routes which represent a repo or org the respective middlewares set the field too. Also fix a bug in modules/context/org.go during refactoring. |
3 years ago | |
---|---|---|
.. | ||
api/v1 | 3 years ago | |
common | 3 years ago | |
install | 3 years ago | |
private | 3 years ago | |
utils | 3 years ago | |
web | 3 years ago | |
init.go | 3 years ago |