Details
-
Bug
-
Resolution: Fixed
-
Critical
-
2.0.0
-
None
Description
After deleting a user (send to trash and empty trash), it's impossible to create another user with the same username.
Steps to reproduce
- Create a user (username: john, password: publish, email: john.doe@ez.no)
- Delete this user (Content object is sent to the Trash)
- Go to the trash
- Empty the trash
- Go back to Users in Admin Panel
- Create a new user using the same values as step 1
Result:
Argument 'userCreateStruct' is invalid: User with provided login already exists
It seems that the ezuser database table still has the entry
contentobject_id | login | |
---|---|---|
236 | john.doe@ez.no | john |
Expected result:
Website administrators should be able to create a new user account using the same username if the previous account is not in the trash.