Skip to content

Commit bb70368

Browse files
committed
Update secret value generation code examples in docs
1 parent 632f1ac commit bb70368

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Some environment variables in the `.env` file have a default value of `changethi
147147
You have to change them with a secret key, to generate secret keys you can run the following command:
148148

149149
```bash
150-
python -c "import secrets; print(secrets.token_urlsafe(32))"
150+
python -c "import secrets; print(secrets.token_urlsafe(32)[:40])"
151151
```
152152

153153
Copy the content and use that as password / secret key. And run that again to generate another secure key.

deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Some environment variables in the `.env` file have a default value of `changethi
158158
You have to change them with a secret key, to generate secret keys you can run the following command:
159159

160160
```bash
161-
python -c "import secrets; print(secrets.token_urlsafe(32))"
161+
python -c "import secrets; print(secrets.token_urlsafe(32)[:40])"
162162
```
163163

164164
Copy the content and use that as password / secret key. And run that again to generate another secure key.

0 commit comments

Comments
 (0)