[wp-cvs] wordpress wp-login.php,1.28,1.29

Ryan Boren rboren at users.sourceforge.net
Thu Aug 5 15:54:18 UTC 2004


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27918

Modified Files:
	wp-login.php 
Log Message:
stripslashes() from $pwd before performing the md5.  Otherwise, we will not match the database password which had its slashes stripped before the MD5.

Index: wp-login.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-login.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** wp-login.php	30 Jun 2004 02:02:49 -0000	1.28
--- wp-login.php	5 Aug 2004 15:54:15 -0000	1.29
***************
*** 61,65 ****
  	if(!empty($_POST)) {
  		$log = $_POST['log'];
! 		$pwd = $_POST['pwd'];
  		$redirect_to = $_POST['redirect_to'];
  	}
--- 61,65 ----
  	if(!empty($_POST)) {
  		$log = $_POST['log'];
! 		$pwd = stripslashes($_POST['pwd']);
  		$redirect_to = $_POST['redirect_to'];
  	}




More information about the cvs mailing list