summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-02 16:20:09 +0000
committerErmal <eri@pfsense.org>2011-09-02 16:20:09 +0000
commit20a35f92722b719e3ffae81bf4f8dd5dc5c88edd (patch)
tree9630911309a89a2b9b980516faa5f8dfcfb696f9
parent47397d8662d064947beb4dd317ed0f837d5a608a (diff)
downloadpfsense-20a35f92722b719e3ffae81bf4f8dd5dc5c88edd.zip
pfsense-20a35f92722b719e3ffae81bf4f8dd5dc5c88edd.tar.gz
Revert "If a user's browser does not support cookies, print an error on the login form telling them so."
This reverts commit a2e90569ab481bc85f5b3be7a01cc1608b3d065a.
-rw-r--r--etc/inc/authgui.inc11
1 files changed, 0 insertions, 11 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc
index dec0ad2..8c9e3fa 100644
--- a/etc/inc/authgui.inc
+++ b/etc/inc/authgui.inc
@@ -192,10 +192,6 @@ if($config['virtualip'])
foreach($config['virtualip']['vip'] as $vip)
if($vip['subnet'] == $http_host)
$local_ip = true;
-
-setcookie("cookie_test", time() + 3600);
-$have_cookies = isset($_COOKIE["cookie_test"]);
-
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
@@ -259,13 +255,6 @@ $have_cookies = isset($_COOKIE["cookie_test"]);
<span style="text-align:center; font-weight: normal ; font-style: italic">
<?=gettext("Enter username and password to login."); ?>
</span>
-
- <? if (!$have_cookies): ?>
- <br/><br/>
- <span style="text-align:center; font-weight: normal ; font-style: italic; color: #ff0000">
- <?= gettext("Your browser must support cookies to login."); ?>
- </span>
- <? endif; ?>
</p>
<p>
<span style="text-align:center">
OpenPOWER on IntegriCloud