0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-26 21:55:43 +01:00
gitea/routers/api/v1
JakobDev e9f5067653
Add missing reqToken() to notifications endpoints (#26914)
They currently throw a Internal Server Error when you use them without a
token. Now they correctly return a `token is required` error.

This is no security issue. If you use this endpoints with a token that
don't have the correct permission, you get the correct error. This is
not affected by this PR.
2023-09-05 14:43:34 +00:00
..
activitypub
admin
misc
notify
org
packages
repo
settings
swagger
user
utils
api.go
auth_windows.go
auth.go