diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-02-14 15:36:58 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-08-11 14:21:34 +0200 |
commit | 03c580a9b31fb82187de3c882bc274441c41847d (patch) | |
tree | 801c70f45349b36661d733ce9ff66f69dc1ae7bc /application/libraries | |
parent | 01482576c809258769846e61fd9e90f7a4757ec4 (diff) |
Add API key support
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries')
-rw-r--r-- | application/libraries/Duser/Duser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/libraries/Duser/Duser.php b/application/libraries/Duser/Duser.php index 19d1bfa09..733616b40 100644 --- a/application/libraries/Duser/Duser.php +++ b/application/libraries/Duser/Duser.php @@ -78,6 +78,7 @@ class Duser extends CI_Driver_Library { $CI->session->set_userdata('logged_in', true); $CI->session->set_userdata('username', $login_info["username"]); $CI->session->set_userdata('userid', $login_info["userid"]); + $CI->session->set_userdata('access_level', 'full'); return true; } |