OpenVPN backend authentication fix key and translation
The array returned by auth_get_authserver_list() has key as the fixed name of each available authentication mode - e.g. "Local Database". The array value ["name"] has the name string translated into the selected GUI language. Use the key do determine which items are selected, and as the value that ends up being stored in the config. Use ["name"] for display. Forum report: https://forum.pfsense.org/index.php?topic=86326.0 Redmine Bug #4180
Related issues
Bug #4180: OpenVPN Backend for authentication field does not process in other languages
OpenVPN backend authentication fix key and translation
The array returned by auth_get_authserver_list() has key as the fixed name of each available authentication mode - e.g. "Local Database".
The array value ["name"] has the name string translated into the selected GUI language.
Use the key do determine which items are selected, and as the value that ends up being stored in the config.
Use ["name"] for display.
Forum report: https://forum.pfsense.org/index.php?topic=86326.0
Redmine Bug #4180