Oops
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 29 Nov 2006 23:10:56 +0000 (23:10 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 29 Nov 2006 23:10:56 +0000 (23:10 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.12@1204 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/auth.php

index 585b58a..1bd73d1 100644 (file)
@@ -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 .= "</membres>\n\n";
 
-                       header('Content-Type: text/xml; charset="ISO-8859-1"');
+            header('Content-Type: text/xml; charset="ISO-8859-1"');
             echo $res;
-//        }
+        }
         exit;
     }