mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Fix failing doctests and post correct example of passwd() usage.
This commit is contained in:
parent
b4b1ad3dd5
commit
2a9ae4ee37
@ -210,11 +210,9 @@ class NotebookApp(BaseIPythonApplication):
|
||||
password = Unicode(u'', config=True,
|
||||
help="""Hashed password to use for web authentication.
|
||||
|
||||
To generate, do:
|
||||
To generate, type in a python/IPython shell:
|
||||
|
||||
from IPython.lib import passwd
|
||||
|
||||
passwd('mypassphrase')
|
||||
from IPython.lib import passwd; passwd()
|
||||
|
||||
The string should be of the form type:salt:hashed-password.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user