diff options
author | Christian Schneider | 2017-08-22 17:39:44 +0200 |
---|---|---|
committer | Christian Schneider | 2017-08-22 17:39:44 +0200 |
commit | f5af7c571f53357ec037c0b6f798148d80209d04 (patch) | |
tree | 4ca57e1421f15bd76ffaafc77886b3a7b14b0078 | |
parent | ed51c3013e9b7b64235bf2f30543f392a07c1e95 (diff) | |
download | itools-f5af7c571f53357ec037c0b6f798148d80209d04.tar.gz itools-f5af7c571f53357ec037c0b6f798148d80209d04.tar.bz2 itools-f5af7c571f53357ec037c0b6f798148d80209d04.zip |
Fix user->login() without session, forgot to set cookie
-rw-r--r-- | it_user.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_user.class b/it_user.class index ee12258..50a5d2e 100644 --- a/it_user.class +++ b/it_user.class @@ -242,7 +242,7 @@ function login($username, $password, $ignorepassword = false, $withsession = tru if ($withsession) $result = $this->session->set_valid(true, $this->login_identifier_required, $this->login_identifier); else - $result = $_COOKIE[$this->p['uidcookiename']] = $this->session->get_uid(); + $result = $this->_set_uid($this->session->get_uid()); } } |