You are here

function hook_janrain_capture_email_unverified in Janrain Registration 7.2

Same name and namespace in other branches
  1. 7.4 janrain_capture.api.php \hook_janrain_capture_email_unverified()
  2. 7 janrain_capture.api.php \hook_janrain_capture_email_unverified()
  3. 7.3 janrain_capture.api.php \hook_janrain_capture_email_unverified()

Email has not been verified

Triggered when 'Enforce email verification' is enabled and user has not yet verified the email in the Capture record.

Parameters

string $resend_link: The URL to trigger a resend of the verification email

Return value

boolean Display the default message or not

1 invocation of hook_janrain_capture_email_unverified()
janrain_capture_oauth in includes/janrain_capture.endpoints.inc
Callback for the janrain_capture/oauth menu item. This serves as the redirect_uri Capture redirects the user to and performs the authentication.

File

./janrain_capture.api.php, line 141
Hooks provided by Janrain Capture

Code

function hook_janrain_capture_email_unverified($resend_link) {
  drupal_set_message(t("You haven't verified your email! <a href='@resend-link'>Click here to resend it</a>", array(
    '@resend-link',
    $resend_link,
  )), 'error');
  return FALSE;
}