summaryrefslogtreecommitdiff
path: root/it_user.class
diff options
context:
space:
mode:
authorChristian Schneider2017-08-22 17:39:44 +0200
committerChristian Schneider2017-08-22 17:39:44 +0200
commitf5af7c571f53357ec037c0b6f798148d80209d04 (patch)
tree4ca57e1421f15bd76ffaafc77886b3a7b14b0078 /it_user.class
parented51c3013e9b7b64235bf2f30543f392a07c1e95 (diff)
downloaditools-f5af7c571f53357ec037c0b6f798148d80209d04.tar.gz
itools-f5af7c571f53357ec037c0b6f798148d80209d04.tar.bz2
itools-f5af7c571f53357ec037c0b6f798148d80209d04.zip
Fix user->login() without session, forgot to set cookie
Diffstat (limited to 'it_user.class')
-rw-r--r--it_user.class2
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());
}
}