From: Florent Bruneau Date: Mon, 27 Sep 2010 08:55:19 +0000 (+0200) Subject: Keep 'token' in the session since there are hardcoded references to this X-Git-Tag: xorg/1.0.1~154 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f98f5111233eca2b9e6ca9076942a729b1421ee4;p=platal.git Keep 'token' in the session since there are hardcoded references to this variable in the core. Signed-off-by: Florent Bruneau --- 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()) {