[Fusionforge-commits] r8458 - branches/Branch_4_8/gforge/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Dec 2 14:30:04 CET 2009


Author: lolando
Date: 2009-12-02 14:30:04 +0100 (Wed, 02 Dec 2009)
New Revision: 8458

Modified:
   branches/Branch_4_8/gforge/common/include/session.php
Log:
Fix incorrect error message when user types wrong password

Modified: branches/Branch_4_8/gforge/common/include/session.php
===================================================================
--- branches/Branch_4_8/gforge/common/include/session.php	2009-12-02 13:05:16 UTC (rev 8457)
+++ branches/Branch_4_8/gforge/common/include/session.php	2009-12-02 13:30:04 UTC (rev 8458)
@@ -164,6 +164,7 @@
 			// There is a user with the provided user_name, but the MD5 passwds do not match
 			// We'll have to try checking the (crypt) unix_pw
 			$usr = db_fetch_array($res);
+			$userstatus = $usr['status'] ;
 
 			if (crypt ($passwd, $usr['unix_pw']) != $usr['unix_pw']) {
 				// Even the (crypt) unix_pw does not patch




More information about the Fusionforge-commits mailing list