svn: /web/php-bugs/trunk/include/ auth.inc

From: Date: Thu, 03 Sep 2009 18:32:37 +0000
Subject: svn: /web/php-bugs/trunk/include/ auth.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-5798@lists.php.net to get a copy of this message
bjori Thu, 03 Sep 2009 18:32:37 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=287998 Log: Silently fail on authentication errors for non-developers Changed paths: U web/php-bugs/trunk/include/auth.inc Modified: web/php-bugs/trunk/include/auth.inc =================================================================== --- web/php-bugs/trunk/include/auth.inc 2009-09-03 18:15:48 UTC (rev 287997) +++ web/php-bugs/trunk/include/auth.inc 2009-09-03 18:32:37 UTC (rev 287998) @@ -23,11 +23,11 @@ $a = @unserialize($s); if (!is_array($a)) { - echo "Unknown authentication error\n"; + //echo "Unknown authentication error\n"; exit; } if (isset($a["errno"])) { - echo "Authentication failed: ", $a["errstr"], "\n"; + //echo "Authentication failed: ", $a["errstr"], "\n"; return false; }

« previous php.webmaster (#5798) next »