function hook_janrain_capture_user_exists in Janrain Registration 7.4
Same name and namespace in other branches
- 7 janrain_capture.api.php \hook_janrain_capture_user_exists()
- 7.2 janrain_capture.api.php \hook_janrain_capture_user_exists()
- 7.3 janrain_capture.api.php \hook_janrain_capture_user_exists()
User exists
Triggered when 'Match users on email' is disabled and a local user exists with the email being used to authenticate.
Return value
boolean Display the default message or not
1 invocation of hook_janrain_capture_user_exists()
- _janrain_capture_setup_local_account in includes/
janrain_capture.signin.inc - Helper function to set up the Drupal account and run some checks for the oauth endpoint
File
- ./
janrain_capture.api.php, line 111 - Hooks provided by Janrain Capture
Code
function hook_janrain_capture_user_exists() {
drupal_set_message(t('There is another account with this email address.'), 'error');
return FALSE;
}