Commit 735d0bed authored by Franco Fichtner's avatar Franco Fichtner

openvpn: compare correct value here as well for #467

parent 89c689b7
...@@ -778,7 +778,7 @@ function tuntap_change() { ...@@ -778,7 +778,7 @@ function tuntap_change() {
$auth_servers = auth_get_authserver_list(); $auth_servers = auth_get_authserver_list();
foreach ($auth_servers as $auth_key => $auth_server) : foreach ($auth_servers as $auth_key => $auth_server) :
$selected = ""; $selected = "";
if (in_array($auth_server['name'], $authmodes)) { if (in_array($auth_key, $authmodes)) {
$selected = "selected=\"selected\""; $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