cvs: docweb /include cvs-auth.inc
| From: | Nuno Lopes | Date: | Sun, 16 Jan 2005 11:32:16 +0000 |
| Subject: | cvs: docweb /include cvs-auth.inc | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-471@lists.php.net to get a copy of this message | ||
nlopess Sun Jan 16 06:32:16 2005 EDT
Modified files:
/docweb/include cvs-auth.inc
Log:
return false if using cvsread user
http://cvs.php.net/diff.php/docweb/include/cvs-auth.inc?r1=1.1&r2=1.2&ty=u
Index: docweb/include/cvs-auth.inc
diff -u docweb/include/cvs-auth.inc:1.1 docweb/include/cvs-auth.inc:1.2
--- docweb/include/cvs-auth.inc:1.1 Sun Jan 16 06:22:55 2005
+++ docweb/include/cvs-auth.inc Sun Jan 16 06:32:16 2005
@@ -16,12 +16,16 @@
* | Authors: Nuno Lopes <nlopess@php.net> |
* +----------------------------------------------------------------------+
*
- * $Id: cvs-auth.inc,v 1.1 2005/01/16 11:22:55 nlopess Exp $
+ * $Id: cvs-auth.inc,v 1.2 2005/01/16 11:32:16 nlopess Exp $
*/
function verify_password($user, $pass) {
+ if($user == 'cvsread') {
+ return false;
+ }
+
if(!$fp = @fsockopen('cvs.php.net', 2401)) {
return false;
}