You are here

function hook_janrain_capture_user_already_mapped in Janrain Registration 7

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

User already mapped

Triggered when 'Match users on email' is enabled and the matched account is already mapped to another Capture record.

Return value

boolean Display the default message or not

1 invocation of hook_janrain_capture_user_already_mapped()
janrain_capture_oauth in ./janrain_capture.pages.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 97
Hooks provided by Janrain Capture

Code

function hook_janrain_capture_user_already_mapped() {
  drupal_set_message(t('There is another account with this email address.'), 'error');
  return FALSE;
}