Commit 686bc033 authored by Franco Fichtner's avatar Franco Fichtner

openvpn: compare correct value here as well for #467

(cherry picked from commit 735d0bed)
parent 65cbcd5e
......@@ -786,7 +786,7 @@ function tuntap_change() {
$auth_servers = auth_get_authserver_list();
foreach ($auth_servers as $auth_key => $auth_server) :
$selected = "";
if (in_array($auth_server['name'], $authmodes)) {
if (in_array($auth_key, $authmodes)) {
$selected = "selected=\"selected\"";
}
?>
......
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