Skip to content

Commit 42b64fd

Browse files
committed
Changed logged_in() check to check against 'identity' instead of username/email for other identities.
Resolves issue benedmunds#453
1 parent c304837 commit 42b64fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libraries/Ion_auth.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,7 @@ public function logged_in()
416416
{
417417
$this->ion_auth_model->trigger_events('logged_in');
418418

419-
$identity = $this->config->item('identity', 'ion_auth');
420-
421-
return (bool) $this->session->userdata($identity);
419+
return (bool) $this->session->userdata('identity');
422420
}
423421

424422
/**

0 commit comments

Comments
 (0)