From: Florent Bruneau Date: Tue, 30 Dec 2008 22:37:54 +0000 (+0100) Subject: No more password in the session. X-Git-Tag: xorg/1.0.0~332^2~436 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=bfc1eaeb93b362baf310bc5765cd36c8394869f8;p=platal.git No more password in the session. Signed-off-by: Florent Bruneau --- 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,