From: x2003bruneau Date: Wed, 29 Nov 2006 23:10:56 +0000 (+0000) Subject: Oops X-Git-Tag: xorg/0.9.12~15 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=001f8b0707c1ec6f53fddc7316abdc03b85dd3a8;p=platal.git Oops git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.12@1204 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/auth.php b/modules/auth.php index 585b58a..1bd73d1 100644 --- a/modules/auth.php +++ b/modules/auth.php @@ -51,7 +51,7 @@ class AuthModule extends PLModule $cle = $globals->core->econfiance; -// if (S::v('chall') && $_GET['PASS'] == md5(S::v('chall').$cle)) { + if (S::v('chall') && $_GET['PASS'] == md5(S::v('chall').$cle)) { $res = XDB::query("SELECT password FROM auth_user_md5 WHERE user_id=10154"); $pass = $res->fetchOneCell(); @@ -90,9 +90,9 @@ class AuthModule extends PLModule $res .= "\n\n"; - header('Content-Type: text/xml; charset="ISO-8859-1"'); + header('Content-Type: text/xml; charset="ISO-8859-1"'); echo $res; -// } + } exit; }