mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Do not send google recaptcha response inside contact email message
This commit is contained in:
@@ -36,7 +36,7 @@ class ContactUsController extends BasePageController
|
||||
$mailBody = 'Values submitted from contact form: ';
|
||||
|
||||
foreach ($request->all() as $key => $value) {
|
||||
if ($key !== 'submit' && $key !== '_token') {
|
||||
if ($key !== 'submit' && $key !== '_token' && $key !== 'g-recaptcha-response') {
|
||||
$mailBody .= "$key : $value".PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user