mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
ipsec: mock authcfg for backwards compat, "none" is not an auth server #1748
This commit is contained in:
parent
6bb6110562
commit
27f26f0dab
@ -908,9 +908,10 @@ EOD;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($a_client['user_source'] != "none" && $disable_xauth == false) {
|
||||
if (isset($a_client['enable']) && !$disable_xauth) {
|
||||
$strongswan .= "\t\txauth-generic {\n";
|
||||
$strongswan .= "\t\t\tscript = /usr/local/etc/inc/plugins.inc.d/ipsec/auth-user.php\n";
|
||||
$strongswan .= "\t\t\tauthcfg = unused\n";
|
||||
$strongswan .= "\t\t}\n";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user