From 984cc86b87e5ab5a3457cc2226a4fcdc90555a10 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 7 Feb 2021 12:35:44 -0500 Subject: update volunteer/contact form submission Don't include IP address of the person sending the message. --- static/contact/submit/index.php | 3 +-- static/volunteer/submit/index.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/static/contact/submit/index.php b/static/contact/submit/index.php index 4905a1f..8ac61f2 100644 --- a/static/contact/submit/index.php +++ b/static/contact/submit/index.php @@ -51,8 +51,7 @@ function send($n, $e, $m) { $p = $n . ' <' . $e . '>'; $s = $p . ' sent a message to FSF India'; $msg = 'Per says:' . PHP_EOL . PHP_EOL . $m - . PHP_EOL . PHP_EOL . '---' . PHP_EOL - . 'Message originating from ' . $_SERVER['REMOTE_ADDR']; + . PHP_EOL; $mo = mail(to(), $s, $msg); $go = gl_new_issue($s, $msg); diff --git a/static/volunteer/submit/index.php b/static/volunteer/submit/index.php index ce62c2b..43c45c4 100644 --- a/static/volunteer/submit/index.php +++ b/static/volunteer/submit/index.php @@ -51,8 +51,7 @@ function send($n, $e, $m) { $p = $n . ' <' . $e . '>'; $s = $p . ' wants to volunteer for FSF India'; $msg = 'Per says:' . PHP_EOL . PHP_EOL . $m - . PHP_EOL . PHP_EOL . '---' . PHP_EOL - . 'Message originating from ' . $_SERVER['REMOTE_ADDR']; + . PHP_EOL; $mo = mail(to(), $s, $msg); $go = gl_new_issue($s, $msg); -- cgit v1.2.3