function janrain_capture_resend_verification_email in Janrain Registration 6
Same name and namespace in other branches
- 7.4 includes/janrain_capture.endpoints.inc \janrain_capture_resend_verification_email()
- 7 janrain_capture.pages.inc \janrain_capture_resend_verification_email()
- 7.2 includes/janrain_capture.endpoints.inc \janrain_capture_resend_verification_email()
- 7.3 includes/janrain_capture.endpoints.inc \janrain_capture_resend_verification_email()
Callback for the janrain_capture/resend_verification_email menu item. Displays a confirmation message that a verification email was resent.
1 string reference to 'janrain_capture_resend_verification_email'
- janrain_capture_menu in ./
janrain_capture.module - Implements hook_menu().
File
- ./
janrain_capture.pages.inc, line 285 - User page callbacks for the janrain_capture module.
Code
function janrain_capture_resend_verification_email() {
$hook = module_invoke_all('janrain_capture_verification_resent');
if (empty($hook) || !in_array(FALSE, $hook)) {
if (isset($_SESSION['janrain_capture_email'])) {
drupal_set_message(t('A verification link has been sent to @email. Please check your email.', array(
'@email' => $_SESSION['janrain_capture_email'],
)), 'status');
}
else {
drupal_set_message(t('A verification link has been sent. Please check your email.'), 'status');
}
drupal_goto();
}
}