From b999c41a5aed023a272fda18518a2c9a85c3bef3 Mon Sep 17 00:00:00 2001 From: Simon Hollenbach Date: Sun, 20 Feb 2022 14:41:46 +0100 Subject: [PATCH] docs/7.1.x/configuration: Use 32 bytes to generate secret --- docs/versioned_docs/version-7.1.x/configuration/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versioned_docs/version-7.1.x/configuration/overview.md b/docs/versioned_docs/version-7.1.x/configuration/overview.md index f211f507..9a2113e7 100644 --- a/docs/versioned_docs/version-7.1.x/configuration/overview.md +++ b/docs/versioned_docs/version-7.1.x/configuration/overview.md @@ -7,7 +7,7 @@ title: Overview ### Generating a Cookie Secret -To generate a strong cookie secret use `python -c 'import os,base64; print(base64.urlsafe_b64encode(os.urandom(16)).decode())'` +To generate a strong cookie secret use `python -c 'import os,base64; print(base64.urlsafe_b64encode(os.urandom(32)).decode())'` ### Config File