Commit 177d5e9b authored by Ad Schellevis's avatar Ad Schellevis

(new captive portal, work in progress) add authenticator selector to model and form

parent 4b5245be
......@@ -19,6 +19,14 @@
<help><![CDATA[Select the interface(s) to enable for captive portal.]]></help>
<hint>Type or select interface.</hint>
</field>
<field>
<id>zone.authservers</id>
<label>authenticate using</label>
<type>select_multiple</type>
<style>tokenize</style>
<help><![CDATA[Select authentication methods to use, leave empty for no authentication needed.]]></help>
<hint>Type or select server.</hint>
</field>
<field>
<id>zone.description</id>
<label>description</label>
......
......@@ -25,6 +25,11 @@
<ipaddr>/^((?!dhcp).)*$/</ipaddr>
</filters>
</interfaces>
<authservers type="AuthenticationServerField">
<Required>Y</Required>
<multiple>Y</multiple>
<default>Local Database</default>
</authservers>
<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