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 | |
---|---|---|
.. | ||
admin | 3 years ago | |
misc | 3 years ago | |
notify | 3 years ago | |
org | 3 years ago | |
repo | 3 years ago | |
settings | 4 years ago | |
swagger | 3 years ago | |
user | 3 years ago | |
utils | 3 years ago | |
api.go | 3 years ago |