mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-14 21:42:57 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user