NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008960phplist applicationUser Managementpublic17-01-07 01:4318-02-08 14:08
PlatformOSOS Version
Product Version2.10.4 
Target Version2.10.7Fixed in Version2.10.5 
Summary0008960: No checking for duplicate admin on create
DescriptionWhen 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)

TagsNo tags attached.
Attached Filesdiff file icon admin.diff [^] (1,121 bytes) 17-01-07 01:43 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0003721closed phplist 2.10.x 

-  Notes
07-08-07 17:37

Right, thank for the fix.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker