|
@@ 496-498 (lines=3) @@
|
| 493 |
|
SS_Log::log("could not connect to twitter", SS_Log::NOTICE); |
| 494 |
|
} |
| 495 |
|
Session::clear('Twitter.Request.Token'); |
| 496 |
|
if ($data && $user && is_numeric($user) && $access) { |
| 497 |
|
$this->updateUserFromTwitterData($user, $data, $access, false); |
| 498 |
|
} |
| 499 |
|
$returnURL = $this->returnURL(); |
| 500 |
|
return $this->redirect($returnURL); |
| 501 |
|
} |
|
@@ 587-589 (lines=3) @@
|
| 584 |
|
Session::set('FormInfo.TwitterLoginForm_LoginForm.formError.type', 'error'); |
| 585 |
|
return $this->redirect('Security/login#TwitterLoginForm_LoginForm_tab'); |
| 586 |
|
} |
| 587 |
|
if ($data && $user && is_numeric($user) && $access) { |
| 588 |
|
$this->updateUserFromTwitterData($user, $data, $access, Session::get('SessionForms.TwitterLoginForm.Remember')); |
| 589 |
|
} |
| 590 |
|
$backURL = $this->returnURL(); |
| 591 |
|
return $this->redirect($backURL); |
| 592 |
|
} |