mirror of
https://github.com/bcit-ci/CodeIgniter.git
synced 2025-02-20 11:13:29 +08:00
...
parent
26dbcaad13
commit
ff23484f79
@ -13,12 +13,12 @@ class Engage_login extends Controller{
|
||||
|
||||
function index(){
|
||||
// Check for token
|
||||
if(!$this->input->get('token')){
|
||||
if(!$this->input->post('token')){
|
||||
//NO TOKEN GIVEN!
|
||||
}
|
||||
|
||||
// Send token to RPX Library
|
||||
$this->engage->token($this->input->get('token'));
|
||||
$this->engage->token($this->input->post('token'));
|
||||
// auth_info API Call
|
||||
$response = $this->engage->authinfo();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user