From f5af7c571f53357ec037c0b6f798148d80209d04 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 22 Aug 2017 17:39:44 +0200 Subject: Fix user->login() without session, forgot to set cookie --- it_user.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_user.class') 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()); } } -- cgit v1.2.3