Feature #3106
closed
New hook after saving user
Added by Dominik Wild almost 17 years ago.
Updated almost 17 years ago.
Description
I need to run some plugin code after the password was changed.
Because a user can be manipulated in several different controllers I think the hooks seems to be placed best in the user model.
Instead of a hook, couldn't you just register your method to the User's after_save callback?
- Status changed from New to Resolved
Hm... well, I can't register a callback from outside the model, but I figured out that it is in fact possible using an observer. Thanks for the hint.
- Status changed from Resolved to Closed
- Resolution set to Invalid
An observer is probably the best way anyways.
Also available in: Atom
PDF