From 6b7082a194a19579430e426ffc4bce52ffd336e9 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Sun, 20 Nov 2022 13:13:44 -0500 Subject: Add config identity_min_length and apply non-admin validation --- core/models/config.py | 1 + 1 file changed, 1 insertion(+) (limited to 'core/models') 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 -- cgit v1.2.3