Commit dcf4cd5d authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) add concurrent logins field to model and form

parent 7716a503
......@@ -38,6 +38,12 @@
<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>
</field>
<field>
<id>zone.concurrentlogins</id>
<type>checkbox</type>
<label>Concurrent user logins</label>
<help><![CDATA[If this option is set, users can login on multiple machines at once. If disabled subsequent logins will cause machines previously logged in with the same username to be disconnected.]]></help>
</field>
<field>
<id>zone.certificate</id>
<label>SSL certificate</label>
......@@ -56,4 +62,4 @@
<type>text</type>
<help>Description to identify this zone.</help>
</field>
</form>
</form>
\ No newline at end of file
......@@ -44,6 +44,10 @@
<MaximumValue>10080</MaximumValue>
<ValidationMessage>Hard timeout must be between 0(no timeout) and 10080 (a week)</ValidationMessage>
</hardtimeout>
<concurrentlogins type="BooleanField">
<Required>Y</Required>
<default>1</default>
</concurrentlogins>
<certificate type="CertificateField">
<Required>N</Required>
<ValidationMessage>Please select a valid certificate from the list</ValidationMessage>
......
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