com web/master: Mention how to reset the password and update their info Also point them to the email address that "handles this group" (i.e.
internals@, phpdoc@, ..) so they have a shot of getting a reply if they actually send that mail :): manage/users.php
| From: | Hannes Magnusson | Date: | Thu, 05 Jul 2012 18:41:46 +0000 |
| Subject: | com web/master: Mention how to reset the password and update their info Also point them to the email address that "handles this group" (i.e. internals@, phpdoc@, ..) so they have a shot of getting a reply if they actually send that mail :): manage/users.php |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13860@lists.php.net to get a copy of this message | ||
Commit: b71d6129492b0f9def108937132b82db4d1950a3
Author: Hannes Magnusson <bjori@10gen.com> Thu, 5 Jul 2012 19:39:57 +0100
Parents: e989df7d0608db78e148b1a9d5c4b0a01bd91ba8
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=b71d6129492b0f9def108937132b82db4d1950a3
Log:
Mention how to reset the password and update their info
Also point them to the email address that "handles this group" (i.e.
internals@, phpdoc@, ..) so they have a shot of getting a reply if they
actually send that mail :)
Changed paths:
M manage/users.php
Diff:
diff --git a/manage/users.php b/manage/users..php
index 4dda49a..fb8bdbc 100644
--- a/manage/users.php
+++ b/manage/users.php
@@ -65,6 +65,7 @@ if ($id && $action) {
&& mysql_affected_rows()) {
$cc = find_group_address_from_notes_for($id);
$userinfo = fetch_user($id);
+ $mailtext = $cc ? $cc : $mailto;
$message =
"Your VCS account ($userinfo[username]) was created.
@@ -72,8 +73,15 @@ You should be able to log into the VCS server within the hour, and
your $userinfo[username]@php.net forward to $userinfo[email] should
be active within the next 24 hours.
+If you ever forget your password, you can reset it at:
+ https://master.php.net/forgot.php
+
+To change your password, or other information about you please login on:
+ https://master.php.net/manage/users.php?username=$userinfo[username]
+
Welcome to the PHP development team! If you encounter any problems
-with your VCS account, feel free to send us a note at group@php.net.";
+with your VCS account, feel free to send us a note at $mailtext.
+";
mail($userinfo['email'],"VCS Account Request:
$userinfo[username]",$message,"From: PHP Group <group@php.net>",
"-fnoreply@php.net");
mail($mailto . ($cc ? ",$cc" : ""),"VCS Account Request:
$userinfo[username]","$user approved $userinfo[username]","From: PHP Group
<group@php.net>\nIn-Reply-To: <cvs-account-$id-admin@php.net>",
"-fnoreply@php.net");