cvs: phpweb / cvs-php.php
| From: | Sascha Schumann | Date: | Thu, 27 Sep 2001 12:37:30 +0000 |
| Subject: | cvs: phpweb / cvs-php.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6723@lists.php.net to get a copy of this message | ||
sas Thu Sep 27 08:37:30 2001 EDT
Modified files:
/phpweb cvs-php.php
Log:
Provide a 2-letter salt to the crypt() function, because we want
to use DES for the cvs server.
Index: phpweb/cvs-php.php
diff -u phpweb/cvs-php.php:1.13 phpweb/cvs-php.php:1.14
--- phpweb/cvs-php.php:1.13 Wed Aug 1 18:58:22 2001
+++ phpweb/cvs-php.php Thu Sep 27 08:37:30 2001
@@ -135,7 +135,7 @@
mail("group@php.net","CVS Account Request",
"Full name: $fullname\n".
"Email: $email\nID: $id\n".
- "Password: ".crypt($password)."\n".
+ "Password: ".crypt($password, substr(md5(time()), 0, 2))."\n".
"Purpose: $purpose",
"From: \"CVS Account Request\" <$email>");
mail("php-dev@lists.php.net", "CVS Account Request",