-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Description
Jupyter notebook passwords set via the login interface seem to not take effect until the jupyter process is restarted. Such behavior seems contrary to what is stated here:
Next time you need to log in you’ll be able to use the new password instead of the login token, otherwise follow the procedure to set a password from the command line.
The issue can be reproduced by:
jupyter notebook --NotebookApp.allow_password_change=True --NotebookApp.token=sillytoken- Open up localhost:8888 (without the token in the URL)
- Change password via the token
- Log out
- Return to log in page and attempt to use password set. Notebook refuses password.
- Shutdown jupyter from terminal.
- Start jupyter again and attempt to log in. Password set earlier is accepted.
Is there some configuration I am missing to have passwords immediately take effect? Such behavior is desirable as we are trying to use JupyterLab within a docker container, but users' passwords do not take effect until the process is restarted which in the context of docker implies the container is destroyed. The behavior present in the docker stack seems to arise from Jupyter itself.