Skip to content

Commit 2c2e008

Browse files
GiteaBotkdumontnu
andauthored
Update docs for DISABLE_QUERY_AUTH_TOKEN (go-gitea#28485) (go-gitea#28488)
Backport go-gitea#28485 by @kdumontnu As described [here](go-gitea#28390 (comment)). Co-authored-by: Kyle D <[email protected]>
1 parent 6cbb6f3 commit 2c2e008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/content/administration/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ And the following unique queues:
571571
- off - do not check password complexity
572572
- `PASSWORD_CHECK_PWN`: **false**: Check [HaveIBeenPwned](https://haveibeenpwned.com/Passwords) to see if a password has been exposed.
573573
- `SUCCESSFUL_TOKENS_CACHE_SIZE`: **20**: Cache successful token hashes. API tokens are stored in the DB as pbkdf2 hashes however, this means that there is a potentially significant hashing load when there are multiple API operations. This cache will store the successfully hashed tokens in a LRU cache as a balance between performance and security.
574+
- `DISABLE_QUERY_AUTH_TOKEN`: **false**: Reject API tokens sent in URL query string (Accept Header-based API tokens only). This setting will default to `true` in Gitea 1.23 and be deprecated in Gitea 1.24.
574575

575576
## Camo (`camo`)
576577

0 commit comments

Comments
 (0)