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

"Username not avaliable" Error while creating user with already deleted Usernames #2558

Closed
AnveshNalimela opened this issue Oct 22, 2024 · 1 comment
Assignees
Labels
wontfix This will not be worked on

Comments

@AnveshNalimela
Copy link
Contributor

Description:

When creating a new user, if the username matches one that belonged to a previously deleted account (soft deleted), the system incorrectly shows the "username already taken" error. This issue arises because the system is not distinguishing between active and deleted accounts during the username availability check.

Steps to Reproduce:

1.An admin deletes a user (soft delete).
2.A new user attempts to create an account using the same username.
3.The system shows the error "username already taken," even though the previous user has been deleted.

Expected Behavior: The system should allow new users to register with the same username if the previous account has been deleted.

Actual Behavior: The "username already taken" error is shown, preventing new account creation with the same username.

Suggested Fix: Update the username availability check to exclude usernames from deleted (soft deleted) accounts or provide the option to permanently delete usernames upon account removal.

@rithviknishad rithviknishad transferred this issue from ohcnetwork/care_fe Oct 22, 2024
@DraKen0009
Copy link
Contributor

@rithviknishad I want to work on this issue

@vigneshhari vigneshhari added the wontfix This will not be worked on label Oct 23, 2024
@sainak sainak closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants