#2910 closed enhancement (duplicate)
Allow user to choose login name and password during setup
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.0.4 |
| Component: | Administration | Keywords: | bg|has-patch |
| Focuses: | Cc: |
Description
When running install.php, the default user's login name is set to "admin" and the password to a random string. Why not allow the user to type a login name and choose a password right at the beginning, negating the necessity for the user to immediately login and change the password. This would also mean that there will be fewer (eventually) Wordpress installs out there with an "admin" account with admin privileges.
Attachments (2)
Change History (8)
#2
@
19 years ago
- Keywords bg|has-patch added
- Milestone set to 2.0.4
- Owner changed from anonymous to darkfate
- Status changed from new to assigned
- Type changed from defect to enhancement
#3
@
19 years ago
I figured it would be safer to keep the password randomized. It produces a strong password and some people's passwords tend to not be that secure. This gives wordpress security by default.
#4
@
19 years ago
I guess we want to sanitize the username to be safe. I would use something like:
if(!eregi("^([0-9 a-z])+$", $admin_username)) {};
Or should it use the functions in registration_functions.php like on lines 38 and 39.
...Or you could ignore everything I said about the password, since it's already covered in #2870, and let this ticket be just about the login name.