From f98f5111233eca2b9e6ca9076942a729b1421ee4 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 27 Sep 2010 10:55:19 +0200 Subject: [PATCH] Keep 'token' in the session since there are hardcoded references to this variable in the core. Signed-off-by: Florent Bruneau --- classes/xorgsession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/xorgsession.php b/classes/xorgsession.php index 4df4a40..c7a5afd 100644 --- a/classes/xorgsession.php +++ b/classes/xorgsession.php @@ -208,7 +208,7 @@ class XorgSession extends PlSession } // Loads uid and hruid into the session for developement conveniance. - $_SESSION = array_merge($_SESSION, array('uid' => $user->id(), 'hruid' => $user->hruid)); + $_SESSION = array_merge($_SESSION, array('uid' => $user->id(), 'hruid' => $user->hruid, 'token' => $user->token)); // Starts the session's logger, and sets up the permanent cookie. if (S::suid()) { -- 2.1.4