From e64c8b6163eabdd0b94f9fca2f8cf4106aa9bb7a Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 22 Jun 2008 16:32:41 +0200 Subject: [PATCH] Auth use Post data, not Env, remove debug. Signed-off-by: Florent Bruneau --- classes/xorgsession.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/xorgsession.php b/classes/xorgsession.php index b63420a..97e9a24 100644 --- a/classes/xorgsession.php +++ b/classes/xorgsession.php @@ -50,7 +50,6 @@ class XorgSession extends PlSession */ private function tryCookie() { - Platal::page()->trigError("Trying cookie"); S::kill('auth_by_cookie'); if (Cookie::v('ORGaccess') == '' || !Cookie::has('ORGuid')) { return -1; @@ -125,7 +124,7 @@ class XorgSession extends PlSession /* We want to do auth... we must have infos from a form. */ - if (!Env::has('username') || !Env::has('response') || !S::has('challenge')) { + if (!Post::has('username') || !Post::has('response') || !S::has('challenge')) { return null; } -- 2.1.4