From a5defa3c65c2e7e56fb0909fe8e738acfac35aa7 Mon Sep 17 00:00:00 2001 From: Angel Moya - Sidoo Date: Mon, 11 Aug 2025 13:16:28 +0200 Subject: [PATCH 1/3] Update copier.yml Ensure min lenght for postgresql password --- copier.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/copier.yml b/copier.yml index f98e3fc861..39b4c1ebde 100644 --- a/copier.yml +++ b/copier.yml @@ -53,6 +53,7 @@ postgres_password: you can generate one with: python -c "import secrets; print(secrets.token_urlsafe(32))"' default: changethis + validate: "{% if (postgres_password | length) < 8 %} Password must have at least 8 characters{% endif %}" sentry_dsn: type: str From 0c964b69bf62350116dd1bd4545fea435f72c07c Mon Sep 17 00:00:00 2001 From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:02:34 +0200 Subject: [PATCH 2/3] Update copier.yml Co-authored-by: Younes Henni --- copier.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/copier.yml b/copier.yml index 39b4c1ebde..df98945510 100644 --- a/copier.yml +++ b/copier.yml @@ -53,7 +53,10 @@ postgres_password: you can generate one with: python -c "import secrets; print(secrets.token_urlsafe(32))"' default: changethis - validate: "{% if (postgres_password | length) < 8 %} Password must have at least 8 characters{% endif %}" +validate: | + {% if postgres_password|length < 8 %} + Password must have at least 8 characters + {% endif %} sentry_dsn: type: str From c8affc41ffe40bb4e31a9cb523ce316eda9e0c7b Mon Sep 17 00:00:00 2001 From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:20:18 +0200 Subject: [PATCH 3/3] Update copier.yml, add `try again` --- copier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copier.yml b/copier.yml index df98945510..968d6f9307 100644 --- a/copier.yml +++ b/copier.yml @@ -55,7 +55,7 @@ postgres_password: default: changethis validate: | {% if postgres_password|length < 8 %} - Password must have at least 8 characters + Password must have at least 8 characters. Try again {% endif %} sentry_dsn: