function linkedin_auth_linkedin_tie_external_login in LinkedIn Integration 6
Same name and namespace in other branches
- 7 linkedin_auth/linkedin_auth.module \linkedin_auth_linkedin_tie_external_login()
File
- linkedin_auth/
linkedin_auth.module, line 158 - Implement LinkedIn Authentication service for user login
Code
function linkedin_auth_linkedin_tie_external_login($uid, $token, $secret) {
$_SESSION['linkedin_not_linked'] = 1;
drupal_set_message('No user associated with this LinkedIn account. Please register.');
if (variable_get('linkedin_auth_bypass_register_checks', 1) == 1) {
drupal_goto('linkedin/register/create');
}
drupal_goto('user/register');
}