summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMichael Manfre2022-11-20 13:13:44 -0500
committerGitHub2022-11-20 11:13:44 -0700
commit6b7082a194a19579430e426ffc4bce52ffd336e9 (patch)
tree38aefe1cafcd43b4db2a1aba36fb3f8bc1ed1e3c /core
parentf9ee3ef69d7e3c91a3df6bad949d25a24baf57b0 (diff)
downloadtakahe-6b7082a194a19579430e426ffc4bce52ffd336e9.tar.gz
takahe-6b7082a194a19579430e426ffc4bce52ffd336e9.tar.bz2
takahe-6b7082a194a19579430e426ffc4bce52ffd336e9.zip
Add config identity_min_length and apply non-admin validation
Diffstat (limited to 'core')
-rw-r--r--core/models/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/models/config.py b/core/models/config.py
index 5d2fdfb..ffe7172 100644
--- a/core/models/config.py
+++ b/core/models/config.py
@@ -165,6 +165,7 @@ class Config(models.Model):
signup_text: str = ""
post_length: int = 500
+ identity_min_length: int = 2
identity_max_per_user: int = 5
identity_max_age: int = 24 * 60 * 60