|
Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0008960 |
[phplist] User Management |
major |
always |
17-01-07 01:43 |
18-02-08 14:08 |
|
|
Reporter |
veroxii |
View Status |
public |
|
|
Assigned To |
|
|
Priority |
normal |
Resolution |
fixed |
|
|
Status |
resolved |
|
Product Version |
2.10.4 |
|
|
Summary |
0008960: No checking for duplicate admin on create |
|
Description |
When trying to add a new admin to the system via the web interface, if you select a login name that already exists, the system will still try to insert the record in the database. (and gives a database error on the next page)
There is no checking done to see if a user already exists. It then creates a record in the admin table with an empty loginname field which makes it impossible to add more admins until that record has been removed.
I'm attaching a diff for a fix, which simply does a check in the database before creating a new admin. (/admin/admin.php)
-Johann |
|
Additional Information |
|
| Tags |
No tags attached. |
|
|
Attached Files |
admin.diff [^] (1,121 bytes) 17-01-07 01:43 |
|
|