From bfc1eaeb93b362baf310bc5765cd36c8394869f8 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 30 Dec 2008 23:37:54 +0100 Subject: [PATCH] No more password in the session. 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 61490d1..1dbe505 100644 --- a/classes/xorgsession.php +++ b/classes/xorgsession.php @@ -185,7 +185,7 @@ class XorgSession extends PlSession /** TODO: Move needed informations to account tables */ /** TODO: Currently suppressed data are matricule, promo */ /** TODO: Use the User object to fetch all this */ - $res = XDB::query("SELECT a.uid, a.hruid, a.display_name, a.full_name, a.password, + $res = XDB::query("SELECT a.uid, a.hruid, a.display_name, a.full_name, a.sex = 'female' AS femme, a.email_format, a.token, FIND_IN_SET('watch', a.flags) AS watch_account, UNIX_TIMESTAMP(fp.last_seen) AS banana_last, w.last AS watch_last, -- 2.1.4