summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-04-29 11:58:27 -0400
committerStephen Beaver <sbeaver@netgate.com>2016-04-29 11:59:01 -0400
commit85a96e14b72c5526f83635f3a86176853171033c (patch)
tree81e7be087fa181b9b18a1ef32ce848d0d3337f2a
parent8bedb416e278ce83982d5a668f1fc8c1dcca5126 (diff)
downloadpfsense-85a96e14b72c5526f83635f3a86176853171033c.zip
pfsense-85a96e14b72c5526f83635f3a86176853171033c.tar.gz
Fixed #6920 - Missing input element
(cherry picked from commit 01232142532562e4ce108346910e6e0a3249e738)
-rw-r--r--src/usr/local/www/services_captiveportal.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php
index ed2d52b..1626820 100644
--- a/src/usr/local/www/services_captiveportal.php
+++ b/src/usr/local/www/services_captiveportal.php
@@ -620,6 +620,14 @@ $section->addInput(new Form_Input(
'the client can only log in with valid credentials until the waiting period specified below has expired. Recommended to set ' .
'a hard timeout and/or idle timeout when using this for it to be effective.');
+$section->addInput(new Form_Input(
+ 'freelogins_resettimeout',
+ 'Waiting period to restore pass-through credits. (Hours)',
+ 'number',
+ $pconfig['freelogins_resettimeout']
+))->setHelp('Clients will have their available pass-through credits restored to the original count after this amount of time since using the first one. ' .
+ 'This must be above 0 hours if pass-through credits are enabled.');
+
$section->addInput(new Form_Checkbox(
'freelogins_updatetimeouts',
'Reset waiting period',
OpenPOWER on IntegriCloud