From 20a35f92722b719e3ffae81bf4f8dd5dc5c88edd Mon Sep 17 00:00:00 2001
From: Ermal
Date: Fri, 2 Sep 2011 16:20:09 +0000
Subject: Revert "If a user's browser does not support cookies, print an error
on the login form telling them so."
This reverts commit a2e90569ab481bc85f5b3be7a01cc1608b3d065a.
---
etc/inc/authgui.inc | 11 -----------
1 file changed, 11 deletions(-)
(limited to 'etc/inc')
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"]);
-
?>
=gettext("Enter username and password to login."); ?>
-
- if (!$have_cookies): ?>
-
-
- = gettext("Your browser must support cookies to login."); ?>
-
- endif; ?>
--
cgit v1.1