You are here

function hybridauth_email_registration_name in HybridAuth Social Login 6.2

Same name and namespace in other branches
  1. 7.2 hybridauth.module \hybridauth_email_registration_name()

Implements hook_email_registration_name().

File

./hybridauth.module, line 303
Main file for the HybridAuth module.

Code

function hybridauth_email_registration_name($edit, $account) {
  global $hybridauth_data;
  if (!empty($hybridauth_data) || !empty($account->hybridauth)) {
    return $account->name;
  }
  return NULL;
}