Feature #3433


Allow deletion of Pending User, not yet activated

Added by Tony Shiffer about 15 years ago. Updated over 13 years ago.

Accounts / authentication
Target version:
Start date:
Due date:
% Done:


Estimated time:


  • fill the description as detailed as you can, don't hesitate to describe precisely how this feature should behave, try to add what benefits you're excepting from it

There should be two delete control's right next to the Activate control for each registered user. These two controls should both delete the registered un-activated user. One control deletes the user and sends an email saying the account request has been declined, the other control deletes the request silently, without sending an email.

Alternately, it should be possible to use a check mark box arrangement where you can select multiple/all pending un activated users for either one of the delete actions (with our without email notification).

Today - robotic attempts to get an account forever occupy the registered user list, making it hard to find valid new user requests. There is no good reason to keep invalid registration attempts in the database forever, and many good reasons to allow their deletion.

Related issues

Related to Redmine - Feature #7296: Ability for admin to delete usersClosed2011-01-11

Has duplicate Redmine - Defect #3570: Delete registered userClosed2009-07-01

Has duplicate Redmine - Feature #3611: Removing a register userClosedJean-Philippe Lang2009-07-13

Has duplicate Redmine - Feature #4689: Removing non activated users from the users listClosed

Actions #1

Updated by Eric Davis about 15 years ago

There was a discussion about this here

Actions #2

Updated by Ammler _ about 15 years ago

This feature could also depend on the type, how someone gets active. We use "selfactivation" over email, so it should also self deletion after the user didn't activate for a settable time, default 48h?

Thas is my opinion for one settings. :-)

Actions #3

Updated by Bill Richardson about 15 years ago

Hi, new to Redmine...

A necessary addition to the above feature is "resend activation email". I've written account activation systems from scratch for several customers, and there are always users who call/write and say "I didn't get my activation", usually due to spam blocking. Admins need the ability to resend the activation from the pending user record. Otherwise, we have to delete the user and start over, or worse yet, tell the user they're SOL and need to sign up again with a new email address.


Actions #4

Updated by colin moock about 15 years ago


Actions #5

Updated by Bill Richardson about 15 years ago

Regarding the 'resending account activation' comment above, I've added a new feature issue to handle further discussion on this topic. I've also included a simple workaround for resending account activations. Find it here:

Actions #6

Updated by Anthony Cartmell almost 15 years ago


Being able to delete never-activated users would be most useful. If a user is in the "registered" state, they can't have done anything yet: so it must be safe to delete them from the users table, thus freeing up their email address, username, etc. for someone else to use.

Actions #7

Updated by Bruno Medeiros almost 15 years ago


It's a very necessary feature since public instances of Redmine have a lot of unaccepted users that couldn't be erased.
Is safe to manual delete on database as a workaround?

Actions #8

Updated by Gauthier Brion over 13 years ago


Actions #9

Updated by Ammler _ over 13 years ago

I run from time to time those 2 queries:

DELETE FROM tokens WHERE action='register' and created_on < now() - INTERVAL 7 DAY;# 114 row(s) affected.

DELETE FROM users WHERE status=2 and created_on < now() - INTERVAL 7 DAY;# 114 row(s) affected.

Actions #10

Updated by Jean-Philippe Lang over 13 years ago

  • Category set to Accounts / authentication

Administrators are now able to delete any user (see #6751).
There is no notification for not yet activated users. May be added later.

Actions #11

Updated by colin moock over 13 years ago

thank you!!


Also available in: Atom PDF