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/.
This commit is contained in:
@ -51,7 +51,7 @@ Run the following commands to generate a password and secret key and write them
|
|||||||
{/* prettier-ignore */}
|
{/* prettier-ignore */}
|
||||||
```shell
|
```shell
|
||||||
echo "PG_PASS=$(openssl rand -base64 36)" >> .env
|
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
|
:::info
|
||||||
|
|||||||
Reference in New Issue
Block a user