Opened 17 years ago
Closed 16 years ago
#9563 closed defect (bug) (fixed)
unique email is not enforced
| Reported by: | Denis-de-Bernardy | Owned by: | Nicholas91 |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | General | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch tested |
| Cc: | Focuses: |
Description
When you create (or edit) a user in the admin area, email uniqueness is not enforced. See also: #1626
Attachments (1)
Change History (10)
#7
@
17 years ago
Tricky... I'm pretty certain it's extremely rare, though, due to the fact that the registration form has always enforced this. Only an admin could possibly create a user with a dup email, and that was more of a bug than anything else.
Imo we leave things as they are and let the rare admins that have dup users delete them -- WP does a good job at merging a user into another one when a user gets deleted.
#8
@
16 years ago
- Cc added
- Resolution fixed
- Status closed → reopened
I'm reopening this because it introduces a regression.
While the initial intent (not allowing multiple user registration) is reasonable, it introduces a problem as follows:
- Set up WP
- An admin user is created
- User's email is set to my email address
- I want my posts to show up as from me.
- So I create a new user (me) with my address.
Before this fix, this worked. After this fix, it stopped working. So, today, when I did a fresh install, I had to enter a bogus email and then change it in the DB backend.
Another option would be to be able to change the default admin account's username, but that can be problematic - better to just allow the creation of multiple accounts with the same address from the admin panel (perhaps with warning).
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
the patch also makes the error codes consistent with those from the registration form.