From cb9b3407d834e416b681981cc155d52f0d03b372 Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Thu, 18 Apr 2024 06:20:30 -0400 Subject: [PATCH] website/docs: fix SECRET_KEY length (#9328) Django complains about 36-character keys. See security.W009 on https://docs.djangoproject.com/en/5.0/ref/checks/. --- website/docs/installation/docker-compose.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/installation/docker-compose.mdx b/website/docs/installation/docker-compose.mdx index fa430646e2..5d89aa5b20 100644 --- a/website/docs/installation/docker-compose.mdx +++ b/website/docs/installation/docker-compose.mdx @@ -51,7 +51,7 @@ Run the following commands to generate a password and secret key and write them {/* prettier-ignore */} ```shell echo "PG_PASS=$(openssl rand -base64 36)" >> .env -echo "AUTHENTIK_SECRET_KEY=$(openssl rand -base64 36)" >> .env +echo "AUTHENTIK_SECRET_KEY=$(openssl rand -base64 60)" >> .env ``` :::info