プロジェクト

全般

プロフィール

Vote #65432

完了

Allow resending of password by email

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Accounts / authentication_7
対象バージョン:
開始日:
2009/06/30
期日:
進捗率:

0%

予定工数:
category_id:
7
version_id:
6
issue_org_id:
3566
author_id:
6522
assigned_to_id:
0
comments:
1
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

I started this idea as a comment on this feature:
http://www.redmine.org/issues/3433#change-9934
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.

Bill


journals

Feature added in r2813.
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリAccounts / authentication_7 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0