1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-01 11:58:25 +00:00
Files
gitea/modules/auth/auth.go
David Svantesson ce45a8c257 Allow token as authorization for accessing attachments (#7909)
* Allow token as authorization for accessing attachments

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Only allow token authentication for attachments if it is a download (GET)
2019-08-24 02:33:32 +02:00

9.5 KiB