diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-01-30 22:39:39 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-01-30 22:39:39 +0100 |
commit | 161708dd8bed0cae9ef5c7b88ef2ed8e7c922730 (patch) | |
tree | 4a3f39844aa41b1a319eb725b325fc8218d47bc4 /application/models | |
parent | 7dceccd8832791357a7049f38a9f6b83fe431ed2 (diff) |
Remove userid from session upon logout
No necessary, but better safe than sorry.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models')
-rw-r--r-- | application/models/muser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/models/muser.php b/application/models/muser.php index d13e0662a..ebdbeba7d 100644 --- a/application/models/muser.php +++ b/application/models/muser.php @@ -65,6 +65,7 @@ class Muser extends CI_Model { $this->require_session(); $this->session->unset_userdata('logged_in'); $this->session->unset_userdata('username'); + $this->session->unset_userdata('userid'); $this->session->sess_destroy(); } |