summaryrefslogtreecommitdiffstats
path: root/etc/inc/authgui.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-03 22:50:26 +0000
committerErmal <eri@pfsense.org>2013-01-03 22:50:47 +0000
commit4111fcf5307829b19b95fbb499addddff46264af (patch)
tree3c9ad48f642698d4ea45b119d8cd66c39ce8a084 /etc/inc/authgui.inc
parent24b78825916851bd374c11bd5227dbf140e0ab78 (diff)
downloadpfsense-4111fcf5307829b19b95fbb499addddff46264af.zip
pfsense-4111fcf5307829b19b95fbb499addddff46264af.tar.gz
Always commit the session fast to allow other consumers to proceed to their requests. This unbreaks now the lock up the GUI had allowing only one action from same source per time. Now even if you run a command that blocks indefinitely for example the GUI want lock anymore but allow you to proceed to other actions
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r--etc/inc/authgui.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc
index f87494b..85771a0 100644
--- a/etc/inc/authgui.inc
+++ b/etc/inc/authgui.inc
@@ -87,6 +87,12 @@ if (!$_SESSION['Post_Login']) {
exit;
}
+/*
+ * Close session data to allow other scripts from same host to come in.
+ * A session can be reactivated from calling session_start again
+ */
+session_commit();
+
/*
* determine if the user is allowed access to the requested page
*/
OpenPOWER on IntegriCloud