You are here

function hook_janrain_capture_failed_create in Janrain Registration 7.4

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

Failed to create user

Triggered when the user_save() method doesn't return a valid user

Return value

boolean Display the default message or not

1 invocation of hook_janrain_capture_failed_create()
_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 124
Hooks provided by Janrain Capture

Code

function hook_janrain_capture_failed_create() {
  drupal_set_message(t('We could not process your request.'), 'error');
  return FALSE;
}