We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70a99d0 commit 7688706Copy full SHA for 7688706
web/reset/mail/index.php
@@ -1,6 +1,8 @@
1
<?php
2
// Init
3
define('NO_AUTH_REQUIRED',true);
4
+define('NO_AUTH_REQUIRED',true);
5
+
6
error_reporting(NULL);
7
8
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
@@ -21,6 +23,7 @@
21
23
if ($ip == $_SERVER['SERVER_ADDR']) $ok=1;
22
24
if ($ip == '127.0.0.1') $ok=1;
25
if ($ok==0) exit;
26
+if (isset($_SERVER['HTTP_X_REAL_IP']) || isset($_SERVER['HTTP_X_FORWARDED_FOR'])) exit;
27
28
//
29
// sourceforge.net/projects/postfixadmin/
0 commit comments