wibble
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Sat, 25 Dec 2004 20:31:38 +0000 (20:31 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:26:50 +0000 (23:26 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-136

htdocs/motdepassemd5.php

index 1c7fa2a..588d115 100644 (file)
@@ -23,7 +23,7 @@ require_once('xorg.inc.php');
 
 if (Env::has('response2'))  {             // la variable $response existe-t-elle ?
     // OUI, alors changeons le mot de passe
-    $password = Post:;get('response2');
+    $password = Post::get('response2');
     $sql      = "UPDATE auth_user_md5 SET password='$password' WHERE user_id=".Session::getInt('uid');
     $globals->db->query($sql);
     $_SESSION['log']->log('passwd', '');