Update config option: REQUIRE_SIGNIN_VIEW (#191)

Reviewed-on: https://gitea.com/gitea/docs/pulls/191
This commit is contained in:
wxiaoguang
2025-03-30 05:37:25 +00:00
parent 2757101442
commit d432fb57ac
2 changed files with 6 additions and 0 deletions

View File

@@ -658,6 +658,9 @@ And the following unique queues:
:::
- `REQUIRE_SIGNIN_VIEW`: **false**: Enable this to force users to log in to view any page or to use API.
After 1.23.7, it could be set to "expensive" to block anonymous users accessing some pages which consume a lot of resources,
for example: block anonymous AI crawlers from accessing repo code pages.
The "expensive" mode is experimental and subject to change.
- `ENABLE_NOTIFY_MAIL`: **false**: Enable this to send e-mail to watchers of a repository when
something happens, like creating issues. Requires `Mailer` to be enabled.
- `ENABLE_BASIC_AUTHENTICATION`: **true**: Disable this to disallow authentication using HTTP