aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-01-17 21:48:38 +0100
committerGitHub <noreply@github.com>2021-01-17 21:48:38 +0100
commit21da519c0cd6e243888ebe573e3496e4eda01f10 (patch)
treea4e2fe5cf6dae77091e8089fa6b98c8684b07fe1 /docs/content
parentca63a9d3f1120d8c76eb83ff1fd07e0992a683a8 (diff)
downloadgitea-21da519c0cd6e243888ebe573e3496e4eda01f10.tar.gz
gitea-21da519c0cd6e243888ebe573e3496e4eda01f10.zip
Implement ghost comment mitigation (#14349)
* Implement ghost comment mitigation Adds a config option USER_DELETE_WITH_COMMENTS_MAX_DAYS to the [service] section. See https://codeberg.org/Codeberg/Discussion/issues/24 for the underlying issue. * cleanup * use setting module correctly * add to docs Co-authored-by: Moritz Marquardt <git@momar.de>
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index 17d349b583..5b86cadd44 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -474,6 +474,7 @@ relation to port exhaustion.
- `ALLOW_ONLY_EXTERNAL_REGISTRATION`: **false** Set to true to force registration only using third-party services.
- `NO_REPLY_ADDRESS`: **DOMAIN** Default value for the domain part of the user's email address in the git log if he has set KeepEmailPrivate to true.
The user's email will be replaced with a concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
+- `USER_DELETE_WITH_COMMENTS_MAX_DAYS`: **0** If a user deletes his account before that amount of days, his comments will be deleted as well.
## SSH Minimum Key Sizes (`ssh.minimum_key_sizes`)