mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
add note about sharing config files with cookie_secret
This commit is contained in:
parent
b0d0ed0505
commit
1f841c64e5
@ -343,6 +343,9 @@ class NotebookApp(BaseIPythonApplication):
|
||||
help="""The random bytes used to secure cookies.
|
||||
By default this is a new random number every time you start the Notebook.
|
||||
Set it to a value in a config file to enable logins to persist across server sessions.
|
||||
|
||||
Note: Cookie secrets should be kept private, do not share config files with
|
||||
cookie_secret stored in plaintext (you can read the value from a file).
|
||||
"""
|
||||
)
|
||||
def _cookie_secret_default(self):
|
||||
|
Loading…
Reference in New Issue
Block a user