Is there an easy way to identify duplicate accounts?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Chuckie72
Posts: 1
Joined: 06 Feb 2016, 17:44

Is there an easy way to identify duplicate accounts?

Post by Chuckie72 »

Hi

I am finding that when I manage the user accounts and sort by email address that there are a lot of supplicate email addresses. Is it possible to delete the duplicate accounts where the email addresses are the same, retaining the accounts with the most recent login date?

Thanks.

Andrew
atrol
Site Admin
Posts: 8573
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Is there an easy way to identify duplicate accounts?

Post by atrol »

There is no UI for that. You would have to write a script that selects the affected users from database table mantis_user_table.
Use function user_delete from core/user_api.php to delete the user and associated data.
Please use Search before posting and read the Manual
Post Reply