summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-12 17:34:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-12 17:34:33 +0000
commit6a92a6e154969035d2797e99891f174c8de49417 (patch)
treedfc59edb0efa460a8280cc2b767415b9d30b986f /usr/local/captiveportal/index.php
parent2653f75032d789090ae9a3228de24b10fda3d635 (diff)
downloadpfsense-6a92a6e154969035d2797e99891f174c8de49417.zip
pfsense-6a92a6e154969035d2797e99891f174c8de49417.tar.gz
Log an error when we reach maximum capacity to system logs
Diffstat (limited to 'usr/local/captiveportal/index.php')
-rwxr-xr-xusr/local/captiveportal/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index 2f6970f..81a74f1 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -248,6 +248,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
/* if the pool is empty, return appropriate message and exit */
if (is_null($ruleno)) {
portal_reply_page($redirurl, "error", "System reached maximum login capacity");
+ log_error("WARNING! Captive portal has reached maximum login capacity");
captiveportal_unlock();
exit;
}
OpenPOWER on IntegriCloud