diff options
author | sullrich <sullrich@pfsense.org> | 2009-11-27 17:46:51 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-11-27 17:46:51 -0500 |
commit | 0a82fa9ba35e5714cb1beb5cc8af65d725143c61 (patch) | |
tree | 48d0011f59b8c1df00873a7457f377f0e09482ea | |
parent | 85dd175d043f248c590b18ced068dc9dbfb2054f (diff) | |
download | pfsense-0a82fa9ba35e5714cb1beb5cc8af65d725143c61.zip pfsense-0a82fa9ba35e5714cb1beb5cc8af65d725143c61.tar.gz |
Allow expiration date to lie in the past which has the side effect of disabling the account Ticket #65
-rw-r--r-- | usr/local/www/system_usermanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_usermanager.php b/usr/local/www/system_usermanager.php index 73053ba..b3403e9 100644 --- a/usr/local/www/system_usermanager.php +++ b/usr/local/www/system_usermanager.php @@ -213,7 +213,7 @@ if (isAllowedPage("system_usermanager")) { if ($_POST['expires']){ if(strtotime($_POST['expires']) > 0){ if (strtotime("-1 day") > strtotime(date("m/d/Y",strtotime($_POST['expires'])))) { - $input_errors[] = "The expiration date lies in the past."; + // Allow items to lie in the past which ends up disabling. } else { //convert from any strtotime compatible date to MM/DD/YYYY $expdate = strtotime($_POST['expires']); |