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() {
 syst...@php.net
 ";
     mailer(
-      $row['username'] . '@php.net',
+      $row['email'],
       "Password change instructions for $row[username]", $body,
       new MailAddress('syst...@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 
syst...@php.net for help.</p>';

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to