Closed mwo44 closed 11 years ago
Hi, I've noticed that when I log in with the FB or Gmail account I get no username.
The fields in /account/account_settings are partially or not at all filled in (only name/surname when logged in with Gmail).
There's an error: Trying to get property of non-object calling to
$account->username variable
When I try debugging it's empty
var_dump($account); array(0) { }
The controller running in the background is modified index function:
function index() { maintain_ssl(); if ($this->authentication->is_signed_in()) { $data['account'] = $this->account_model->get_by_id($this->session->userdata('account_id')); $this->load->view('welcome', isset($data) ? $data : NULL); } else { $this->load->view('home', isset($data) ? $data : NULL); } }
I don't see this problem when trying to log in with native username and password. Thanks in advance
Issue resolved - I cleared the test username in the database and created it again.
Hi, I've noticed that when I log in with the FB or Gmail account I get no username.
The fields in /account/account_settings are partially or not at all filled in (only name/surname when logged in with Gmail).
There's an error: Trying to get property of non-object calling to
When I try debugging it's empty
The controller running in the background is modified index function:
I don't see this problem when trying to log in with native username and password. Thanks in advance