To be able to trigger the actions provided by the token_actions module, from the warning and expire triggers of the password expire module, you need to alter the actions array.
/**
* Implementation of hook_action_info_alter()
*
* @see http://api.drupal.org/api/function/hook_action_info_alter/6
*/
function password_expire_action_info_alter(&$actions) {
if (isset($actions['token_actions_send_email_action'])) {
$actions['token_actions_send_email_action']['hooks']['password_expire'] = array('warning', 'expire');
}
}
Adding the above code allows you to use the action to send tokenized e-mail.
Comments
Comment #1
adaven commentedApologies for the delayed response. I've been away for a while. Thanks for the report. I'll add the fix.
Comment #2
adaven commentedThis is now fixed in version 6.x-1.0.