プロジェクト

全般

プロフィール

Vote #64923

完了

Add hook to successful_authentication method

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

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

100%

予定工数:
category_id:
20
version_id:
9
issue_org_id:
3019
author_id:
2928
assigned_to_id:
5
comments:
5
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

The attached patch provides a hook called after successful authentication and before the redirect call.

It's necessary for plugins that, for instance, notify users of changes since their last login.


journals

I'll need to rename it to follow the standard but there shouldn't be any problem commiting it.

Naming details: http://www.redmine.org/issues/1677#note-15
--------------------------------------------------------------------------------
Added in r2609, use @:controller_account_success_authentication_after@
--------------------------------------------------------------------------------
Sweet. Thanks. I have it in my mind to add more hooks in more locations to help with plugin development, but a bit at a time might be best, yeah? :)
--------------------------------------------------------------------------------
Yes, I'm only trying to add hooks in places that are:

# Actually needed by someone
# Would be useful for more than one plugin

Like any API, the hooks have a cost that we need to be aware of.
--------------------------------------------------------------------------------
Backported in 0.8-stable in r2652.
--------------------------------------------------------------------------------

Admin Redmine さんが4年以上前に更新

  • カテゴリPlugin API_20 にセット
  • 対象バージョン0.8.3_9 にセット

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

いいね!0
いいね!0