Commit f3090efd authored by Ad Schellevis's avatar Ad Schellevis

(legacy) add voucher to system_authservers.php

parent d8590822
...@@ -33,7 +33,8 @@ require_once("auth.inc"); ...@@ -33,7 +33,8 @@ require_once("auth.inc");
$auth_server_types = array( $auth_server_types = array(
'ldap' => "LDAP", 'ldap' => "LDAP",
'radius' => "Radius" 'radius' => "Radius",
'voucher' => "Voucher"
); );
...@@ -388,7 +389,6 @@ $( document ).ready(function() { ...@@ -388,7 +389,6 @@ $( document ).ready(function() {
}); });
// init // init
$("#type").change();
$("#radius_srvcs").change(); $("#radius_srvcs").change();
if ($("#ldap_port").val() == "") { if ($("#ldap_port").val() == "") {
$("#ldap_urltype").change(); $("#ldap_urltype").change();
...@@ -396,6 +396,7 @@ $( document ).ready(function() { ...@@ -396,6 +396,7 @@ $( document ).ready(function() {
if ($("#ldap_attr_user").val() == "") { if ($("#ldap_attr_user").val() == "") {
$("#ldap_tmpltype").change(); $("#ldap_tmpltype").change();
} }
$("#type").change();
}); });
//]]> //]]>
</script> </script>
......
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