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

This commit is contained in:
Ad Schellevis 2015-09-24 20:53:00 +02:00
parent 4b5245beb6
commit 177d5e9beb
2 changed files with 13 additions and 0 deletions

View File

@ -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>

View File

@ -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>