svn: web/php-master/trunk/fetch/

From: Date: Tue, 14 Jul 2009 14:45:25 +0000
Subject: svn: web/php-master/trunk/fetch/
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-5344@lists.php.net to get a copy of this message
bjori Tue, 14 Jul 2009 14:45:25 +0000 URL: http://svn.php.net/viewvc?view=revision&revision=284075 Changed paths: U web/php-master/trunk/fetch/cvsauth.php Log: Revert :) - it broke authentication apparently.. Modified: web/php-master/trunk/fetch/cvsauth.php =================================================================== --- web/php-master/trunk/fetch/cvsauth.php 2009-07-14 14:24:45 UTC (rev 284074) +++ web/php-master/trunk/fetch/cvsauth.php 2009-07-14 14:45:25 UTC (rev 284075) @@ -84,7 +84,12 @@ exit_forbidden(E_UNKNOWN); } -if (!verify_password($username, $password)) { +$pass = find_password($username); +if (strlen($pass) < 1) { + exit_forbidden(E_USERNAME); +} + +if (!verify_login($pass, $password)) { exit_forbidden(E_PASSWORD); }

« previous php.webmaster (#5344) next »