File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1139,8 +1139,9 @@ def _default_cookie_secret_file(self) -> str:
1139
1139
b"" ,
1140
1140
config = True ,
1141
1141
help = """The random bytes used to secure cookies.
1142
- By default this is a new random number every time you start the server.
1143
- Set it to a value in a config file to enable logins to persist across server sessions.
1142
+ By default this is generated on first start of the server and persisted across server
1143
+ sessions by writing the cookie secret into the `cookie_secret_file` file.
1144
+ When using an executable config file you can override this to be random at each server restart.
1144
1145
1145
1146
Note: Cookie secrets should be kept private, do not share config files with
1146
1147
cookie_secret stored in plaintext (you can read the value from a file).
You can’t perform that action at this time.
0 commit comments