We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to change admin password. And It seems impossible to do! 1. When access: /hub/auth/change-password from logged in user it produces:
Jun 13 15:41:38 paytonstudio python3[20278]: [I 2019-06-13 15:41:38.474 JupyterHub log:174] 200 GET /hub/auth/change-password (admin@192.168.11.155) 47.65ms Jun 13 15:41:45 paytonstudio python3[20278]: [E 2019-06-13 15:41:45.047 JupyterHub web:1788] Uncaught exception POST /hub/auth/change-password (192.168.11.155) Jun 13 15:41:45 paytonstudio python3[20278]: HTTPServerRequest(protocol='https', host='st....xyz', method='POST', uri='/hub/auth/change-password', version='HTTP/1.1', remote_ip='192.168.11.155') Jun 13 15:41:45 paytonstudio python3[20278]: Traceback (most recent call last): Jun 13 15:41:45 paytonstudio python3[20278]: File "/opt/tljh/hub/lib/python3.6/site-packages/tornado/web.py", line 1699, in _execute Jun 13 15:41:45 paytonstudio python3[20278]: result = await result Jun 13 15:41:45 paytonstudio python3[20278]: File "/opt/tljh/hub/lib/python3.6/site-packages/firstuseauthenticator/firstuseauthenticator.py", line 53, in post Jun 13 15:41:45 paytonstudio python3[20278]: self.authenticator.reset_password(user.name, new_password) Jun 13 15:41:45 paytonstudio python3[20278]: AttributeError: 'coroutine' object has no attribute 'name' Jun 13 15:41:45 paytonstudio python3[20278]:
But the password for admin remains the same. I can login with initial default insecure password.
The text was updated successfully, but these errors were encountered:
It seems you forgot to add await on self.get_current_user() in firstuseauthenticator.py
Sorry, something went wrong.
yep. That fixes. And also there are no link to change password page.
This should now be fixed by jupyterhub/firstuseauthenticator#23, (originally started in jupyterhub/firstuseauthenticator#20). Thanks a lot @efedorov-dart and @ABVitali for woking on this 🎊
No branches or pull requests
I'm trying to change admin password. And It seems impossible to do!
1.
When access: /hub/auth/change-password from logged in user it produces:
Jun 13 15:41:38 paytonstudio python3[20278]: [I 2019-06-13 15:41:38.474 JupyterHub log:174] 200 GET /hub/auth/change-password (admin@192.168.11.155) 47.65ms
Jun 13 15:41:45 paytonstudio python3[20278]: [E 2019-06-13 15:41:45.047 JupyterHub web:1788] Uncaught exception POST /hub/auth/change-password (192.168.11.155)
Jun 13 15:41:45 paytonstudio python3[20278]: HTTPServerRequest(protocol='https', host='st....xyz', method='POST', uri='/hub/auth/change-password', version='HTTP/1.1', remote_ip='192.168.11.155')
Jun 13 15:41:45 paytonstudio python3[20278]: Traceback (most recent call last):
Jun 13 15:41:45 paytonstudio python3[20278]: File "/opt/tljh/hub/lib/python3.6/site-packages/tornado/web.py", line 1699, in _execute
Jun 13 15:41:45 paytonstudio python3[20278]: result = await result
Jun 13 15:41:45 paytonstudio python3[20278]: File "/opt/tljh/hub/lib/python3.6/site-packages/firstuseauthenticator/firstuseauthenticator.py", line 53, in post
Jun 13 15:41:45 paytonstudio python3[20278]: self.authenticator.reset_password(user.name, new_password)
Jun 13 15:41:45 paytonstudio python3[20278]: AttributeError: 'coroutine' object has no attribute 'name'
Jun 13 15:41:45 paytonstudio python3[20278]:
sudo passwd jupyter-admin
Enter new password: ....
But the password for admin remains the same. I can login with initial default insecure password.
The text was updated successfully, but these errors were encountered: