diff options
author | Andrew Godwin | 2022-12-15 15:55:33 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-15 15:55:33 -0700 |
commit | 9ad9bdd9363dedf50ab3fbe70375bd817f92512b (patch) | |
tree | 01cfc99d4755e6f85c7e2a09f513c9bec4eedb65 /core/models | |
parent | 612ab4bcdf127adcff58466e96e48d62b6036b15 (diff) | |
download | takahe-9ad9bdd9363dedf50ab3fbe70375bd817f92512b.tar.gz takahe-9ad9bdd9363dedf50ab3fbe70375bd817f92512b.tar.bz2 takahe-9ad9bdd9363dedf50ab3fbe70375bd817f92512b.zip |
Implement post rate limits, move to signed cookies
Also improve the test harness a little
Fixes #112
Diffstat (limited to 'core/models')
-rw-r--r-- | core/models/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/models/config.py b/core/models/config.py index 9670c11..48da7de 100644 --- a/core/models/config.py +++ b/core/models/config.py @@ -216,6 +216,7 @@ class Config(models.Model): content_warning_text: str = "Content Warning" post_length: int = 500 + post_minimum_interval: int = 3 # seconds identity_min_length: int = 2 identity_max_per_user: int = 5 identity_max_age: int = 24 * 60 * 60 |