summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-01-08 10:15:06 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-01-08 10:26:51 -0200
commit9156a51d0cb8f7124be3c173ea9bebc057f662b5 (patch)
tree804b3ed74c6c1a216eb51c0949b7a4a74f43922c
parentadf8a74a72fee561413c1ef9a2ae09d0b36e96d4 (diff)
downloadpfsense-9156a51d0cb8f7124be3c173ea9bebc057f662b5.zip
pfsense-9156a51d0cb8f7124be3c173ea9bebc057f662b5.tar.gz
Add a value to cookie, otherwise it's not set. Before my last change parameters were out of order and expiration time was being set as value. It should fix #4069
-rw-r--r--etc/inc/authgui.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc
index a407887..70ccfd4 100644
--- a/etc/inc/authgui.inc
+++ b/etc/inc/authgui.inc
@@ -227,7 +227,7 @@ if ($local_ip == false) {
}
setcookie(
"cookie_test",
- '',
+ 'cookie_test',
time() + 3600,
'/',
NULL,
OpenPOWER on IntegriCloud