Commit 0751225d authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(captiveportal, new) add timeout fields

(cherry picked from commit 4f0f868a)
parent 7cd7e276
......@@ -27,6 +27,20 @@
<help><![CDATA[Select authentication methods to use, leave empty for no authentication needed.]]></help>
<hint>Type or select server.</hint>
</field>
<field>
<id>zone.idletimeout</id>
<label>idle timeout (minutes)</label>
<type>text</type>
<help><![CDATA[Clients will be disconnected after this amount of inactivity. They may log in again immediately, though. Leave this field blank for no idle timeout.]]></help>
<hint>Type or select server.</hint>
</field>
<field>
<id>zone.hardtimeout</id>
<label>hard timeout (minutes)</label>
<type>text</type>
<help><![CDATA[Clients will be disconnected after this amount of time, regardless of activity. They may log in again immediately, though. Leave this field blank for no hard timeout (not recommended unless an idle timeout is set).]]></help>
<hint>Type or select server.</hint>
</field>
<field>
<id>zone.description</id>
<label>description</label>
......
......@@ -30,6 +30,20 @@
<multiple>Y</multiple>
<default>Local Database</default>
</authservers>
<idletimeout type="IntegerField">
<Required>Y</Required>
<Default>0</Default>
<MinimumValue>0</MinimumValue>
<MaximumValue>10080</MaximumValue>
<ValidationMessage>Idle timeout must be between 0(no timeout) and 10080 (a week)</ValidationMessage>
</idletimeout>
<hardtimeout type="IntegerField">
<Required>Y</Required>
<Default>0</Default>
<MinimumValue>0</MinimumValue>
<MaximumValue>10080</MaximumValue>
<ValidationMessage>Hard timeout must be between 0(no timeout) and 10080 (a week)</ValidationMessage>
</hardtimeout>
<description type="TextField">
<Required>Y</Required>
<mask>/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u</mask>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment