mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Return after setting account expired
This commit is contained in:
parent
7dd044f257
commit
f1a1997f45
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user