diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-07-06 14:36:02 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-07-06 14:36:02 -0400 |
commit | 3821f3daa8d44ce2138a580bd8d5d2a67835d2e9 (patch) | |
tree | e7f313ede87a659a2b1bf01924cf6a5b6834329d /etc/inc/auth.inc | |
parent | b6022a23920008186cb0e5e9206b43f4a84b3f37 (diff) | |
download | pfsense-3821f3daa8d44ce2138a580bd8d5d2a67835d2e9.zip pfsense-3821f3daa8d44ce2138a580bd8d5d2a67835d2e9.tar.gz |
Oops, correct check
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 462459f..9610190 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -54,7 +54,7 @@ require_once("config.gui.inc"); if (function_exists("display_error_form")) { /* DNS ReBinding attack prevention. http://redmine.pfsense.org/issues/708 */ $found_host = false; - if($dyndns['host'] == "localhost") + if($_SERVER['HTTP_HOST'] == "localhost" or $_SERVER['HTTP_HOST'] == "localhost") $found_host = true; if($config['dyndnses']['dyndns']) foreach($config['dyndnses']['dyndns'] as $dyndns) |