From 782a7d9d1ba3691c644111b7ed657b883f9e5640 Mon Sep 17 00:00:00 2001 From: Siyavash Najafzade Date: Tue, 17 Feb 2026 22:42:58 -0500 Subject: [PATCH] feat: Add length validation for superuser password --- copier.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/copier.yml b/copier.yml index f98e3fc861..98e4165eec 100644 --- a/copier.yml +++ b/copier.yml @@ -23,8 +23,9 @@ first_superuser: first_superuser_password: type: str - help: The password of the first superuser (in .env) + help: The password of the first superuser (in .env). Must be at least 8 characters. default: changethis + validator: "{% if first_superuser_password|length < 8 %}Password must be at least 8 characters long.{% endif %}" smtp_host: type: str