You are here

function linkedin_auth_linkedin_tie_external_login in LinkedIn Integration 7

Same name and namespace in other branches
  1. 6 linkedin_auth/linkedin_auth.module \linkedin_auth_linkedin_tie_external_login()

File

linkedin_auth/linkedin_auth.module, line 138
Implement LinkedIn Authentication service for user login

Code

function linkedin_auth_linkedin_tie_external_login($uid, $token, $secret) {
  drupal_set_message('No user associated with this LinkedIn account. Please register.');
  if (variable_get('linkedin_auth_bypass_register_checks', 0) == 1) {
    $_SESSION['linkedin_auth_register_bypass'] = 1;
  }
  drupal_goto('user/register');
}