[web-master] main: Send forgot-password link to real email, instead of PHP provided one

From: Date: Wed, 30 Aug 2023 16:51:17 +0000
Subject: [web-master] main: Send forgot-password link to real email, instead of PHP provided one
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-31002@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2023-08-30T17:26:38+01:00 Commit: https://github.com/php/web-master/commit/e051444f40b5aeb333a9ac711904a3aaba665cae Raw diff: https://github.com/php/web-master/commit/e051444f40b5aeb333a9ac711904a3aaba665cae.diff Send forgot-password link to real email, instead of PHP provided one Changed paths: M public/forgot.php Diff: diff --git a/public/forgot.php b/public/forgot.php index 96cce5d..51a9efe 100644 --- a/public/forgot.php +++ b/public/forgot.php @@ -78,7 +78,7 @@ function random_password() { systems@php.net "; mailer( - $row['username'] . '@php.net', + $row['email'], "Password change instructions for $row[username]", $body, new MailAddress('systems@php.net', 'PHP Group')); echo '<p>Okay, instructions on how to change your password have been sent to your email address. If you don\'t receive them, you\'ll have to contact systems@php.net for help.</p>';

« previous php.webmaster (#31002) next »