Feature #3566

Allow resending of password by email

Added by Bill Richardson about 13 years ago. Updated about 13 years ago.

Status:ClosedStart date:2009-06-30
Priority:NormalDue date:
Assignee:-% Done:


Category:Accounts / authentication
Target version:0.9.0


I started this idea as a comment on this feature:
and decided to move it to it's own 'new feature', so as not to clutter things up and to make it more accessible to others looking for a similar feature.

I previously said:

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.

Meanwhile, I discovered that adding a single line of code to the UsersController#edit method gave me the functionality I was looking for.

In the "if @user.save" block, add the following.

Mailer.deliver_account_information(@user, params[:password]) if params[:password] and !was_activated

This will send the account information email whenever the admin changes the account password. It allows an admin to resend an account activation by simply resetting the password. It may not suit everyone's needs, but so far it works great for me.


Associated revisions

Revision 2813
Added by Jean-Philippe Lang about 13 years ago

Ability to send an email with password when changing a user's password (#3566).


#1 Updated by Jean-Philippe Lang about 13 years ago

  • Subject changed from Allow resending of activation email to Allow resending of password by email
  • Status changed from New to Closed
  • Target version set to 0.9.0
  • Resolution set to Fixed

Feature added in r2813.

Also available in: Atom PDF