mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
openvpn: compare correct value here as well for #467
This commit is contained in:
parent
89c689b7f6
commit
735d0beda5
@ -778,7 +778,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\"";
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user