docs/7.1.x/configuration: Use 32 bytes to generate secret
This commit is contained in:
parent
4ed564901e
commit
b999c41a5a
|
|
@ -7,7 +7,7 @@ title: Overview
|
||||||
|
|
||||||
### Generating a Cookie Secret
|
### 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
|
### Config File
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue