How can Add Event ( after user Request new password)?

Comments

Hadiseh created an issue. See original summary.

Hadiseh’s picture

Title: Event users password reset » Event after Request new password
Issue summary: View changes
TR’s picture

Status: Active » Fixed

Drupal core does not have any hooks for password reset. So you have to write some code. What you need to do is to hook_form_alter() the user_pass form and add a submit handler which does a rules_invoke_event() of your own custom event (defined by hook_rules_event_info().

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.