Skip to content
New issue

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

We should not be able to create users with the same username #1000

Open
marwa-benhassine opened this issue Nov 29, 2024 · 0 comments
Open

We should not be able to create users with the same username #1000

marwa-benhassine opened this issue Nov 29, 2024 · 0 comments
Labels
component: authentication Changes related to user authentication and authorization mechanisms. component: users Changes related to user management and profiles. design: user experience Changes related to improving the user experience. design: user interface Changes related to the user interface design. type: bug Indicates that the issue or pull request addresses a bug or error.

Comments

@marwa-benhassine
Copy link
Contributor

Describe the bug

It is possible to create users with identical usernames if the first letter is in different case (upper or lower case) allowing duplication of names.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the user page
  2. Click on the new user button
  3. Enter a username with the first letter in either (uppercase or lowercase)
  4. Click on the Create button
  5. Try to create another user with the same username but with a different case for the first letter (uppercase or lowercase)
  6. Notice that the system allows the creation of the duplicate username
  7. Repeat the same steps during the Signup Process.

Expected behavior

An error message should appear when trying to create a username with the same username: Username already exists.

Screenshots

If applicable, add screenshots to help explain your problem.

Username.already.exists.mp4

Desktop (please complete the following information):

OS: Windows

Browser: Chrome/Edge/Firefox
.

@marwa-benhassine marwa-benhassine added type: bug Indicates that the issue or pull request addresses a bug or error. component: authentication Changes related to user authentication and authorization mechanisms. component: users Changes related to user management and profiles. design: user experience Changes related to improving the user experience. design: user interface Changes related to the user interface design. labels Nov 29, 2024
@marwa-benhassine marwa-benhassine changed the title Ability to create users with the same username if the first letter differs in case (uppercase or lowercase) We should not be able to create users with the same username Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: authentication Changes related to user authentication and authorization mechanisms. component: users Changes related to user management and profiles. design: user experience Changes related to improving the user experience. design: user interface Changes related to the user interface design. type: bug Indicates that the issue or pull request addresses a bug or error.
Projects
None yet
Development

No branches or pull requests

1 participant