1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-10 00:34:46 +00:00
gitea/templates
Henrique Corrêa d0f4e92563
Reject star-related requests if stars are disabled (#33208)
This PR fixes #33205.

If stars are disabled:
* The `.../repo/stars` page returns a 403 Forbidden error
* Star-related API endpoints return a 403 Forbidden error saying `Stars are disabled.`
* Same for action endpoints

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-04 13:21:23 +08:00
..
2025-01-21 18:57:07 +00:00
2025-01-17 08:55:02 +00:00
2025-02-04 03:25:59 +00:00