forgejo/routers
Lunny Xiao e97e883ad5
Add reverseproxy auth for API back with default disabled (#26703)
This feature was removed by #22219 to avoid possible CSRF attack.

This PR takes reverseproxy auth for API back but with default disabled.

To prevent possbile CSRF attack, the responsibility will be the
reverseproxy but not Gitea itself.

For those want to enable this `ENABLE_REVERSE_PROXY_AUTHENTICATION_API`,
they should know what they are doing.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-09-07 08:31:46 +00:00
..
api Add reverseproxy auth for API back with default disabled (#26703) 2023-09-07 08:31:46 +00:00
common Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
install Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
private Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix the missing repo count (#26942) 2023-09-07 01:44:47 +00:00
init.go Move feed notification service layer (#26908) 2023-09-05 13:00:52 +00:00