summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-11-27 17:54:56 -0500
committersullrich <sullrich@pfsense.org>2009-11-27 17:54:56 -0500
commitf1a1997f45ae2ea2b458bd7102f96c4603d41e98 (patch)
treea200129840e837c5d0db13a0f897c7f49fe6fc44 /etc
parent7dd044f25741533978d122be60116f59376005f2 (diff)
downloadpfsense-f1a1997f45ae2ea2b458bd7102f96c4603d41e98.zip
pfsense-f1a1997f45ae2ea2b458bd7102f96c4603d41e98.tar.gz
Return after setting account expired
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 5695e73..25c8e15 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -859,6 +859,7 @@ function session_auth($backing) {
if($acct_expires) {
if (strtotime("-1 day") > strtotime(date("m/d/Y",strtotime($acct_expires)))) {
log_error("Account is now expired.");
+ return;
}
} else {
$_SESSION['Logged_In'] = "True";
OpenPOWER on IntegriCloud