Update passwd function

The use of `IPython.lib.passwd()` does not match with Jupyter server documentation 
https://jupyter-server.readthedocs.io/en/latest/operators/public-server.html#preparing-a-hashed-password
and may lead to confusion on how to import/use it.
This commit is contained in:
irvcaza
2022-06-28 23:00:31 -05:00
committed by GitHub
parent fb699d9420
commit 02846c2b49

View File

@@ -10,7 +10,7 @@ This page describes the options supported by the startup script and how to bypas
You can pass [Jupyter server options](https://jupyter-server.readthedocs.io/en/latest/operators/public-server.html) to the `start-notebook.sh` script when launching the container.
1. For example, to secure the Notebook server with a custom password hashed using `IPython.lib.passwd()` instead of the default token,
1. For example, to secure the Notebook server with a [custom password](https://jupyter-server.readthedocs.io/en/latest/operators/public-server.html#preparing-a-hashed-password) hashed using `notebook.auth.security.passwd()` instead of the default token,
you can run the following (this hash was generated for `my-password` password):
```bash