Actions
Feature #3106
closedNew hook after saving user
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-04-02
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
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.
Updated by Eric Davis over 15 years ago
Instead of a hook, couldn't you just register your method to the User's after_save
callback?
Updated by Dominik Wild over 15 years ago
- 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.
Updated by Eric Davis over 15 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid
An observer is probably the best way anyways.
Actions