Skip to content

User not able to login after Admin edits the user name from admin panel #3426

Open
@HarshithaRmAkamai

Description

@HarshithaRmAkamai

Bug description

How to reproduce

1)Created a user testing
2)Was able to successfully login using testing username
3)Edited the user name to testing1
4)Says incorrect username and password when tried to access from
username : testing1
5)Tried logging in using old user name : testing
This entry got added in admin panel as new entry

Expected behaviour

1)User was supposed to be able to login after user name was updated
2)There should be only 1 corresponding entry for the user with updated username

Actual behaviour

1)Says incorrect username and password when tried to access from updated username
2)When tried to access from old user name that entry got added in admin panel as new entry
3)After that I could see both testing and testing1 as users in admin panel
Screenshot 2024-05-28 at 7 58 09 PM

Your personal set up

z2jh version we are using 3.3.7
We are running on LKE cluster with Debian 11 OS worker nodes.

logs

[E 2024-05-28 15:17:55.103 JupyterHubSingleUser] Error notifying Hub of activity
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/jupyterhub/singleuser/extension.py", line 428, in notify
await client.fetch(req)
tornado.httpclient.HTTPClientError: HTTP 404: Not Found

Configuration
hub:
  config:
    Authenticator:
      admin_users:
        - User1
        - User2
      allowed_users:
        - User3
    JupyterHub:
      authenticator_class: dummy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions