mirror of
https://github.com/php/web-pecl.git
synced 2026-03-23 23:02:08 +01:00
Fix GH-100: account request notification shows email address (GH-101)
This commit is contained in:
committed by
GitHub
parent
ebc1d3af71
commit
3e0a9ccc5a
@@ -125,11 +125,11 @@ if (isset($_POST['submit'])) {
|
||||
";
|
||||
$result = $database->run($sql, [$handle, $name, $email, $hash, $showemail ? 1 : 0, $homepage, $userinfo, gmdate('Y-m-d H:i')]);
|
||||
|
||||
$address = @$showemail ? $email : "(address hidden)";
|
||||
$msg = "Requested from: {$_SERVER['REMOTE_ADDR']}\n".
|
||||
"Username: {$handle}\n".
|
||||
"Real Name: {$name}\n".
|
||||
"Email: {$email}".
|
||||
(@$showemail ? " (show address)" : " (hide address)") . "\n".
|
||||
"Email: {$address}\n".
|
||||
"Purpose:\n".
|
||||
"$purpose\n\n".
|
||||
'To handle: '.$container->get('scheme').'://'.$container->get('host')."/admin/?acreq={$handle}\n";
|
||||
|
||||
Reference in New Issue
Block a user