Vote #64923
完了Add hook to successful_authentication method
100%
説明
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.
--------------------------------------------------------------------------------