diff options
author | Lukáš Karas <lukas.karas@centrum.cz> | 2021-08-03 17:00:26 +0200 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2021-08-30 19:34:47 +0200 |
commit | 34c461e0cbd95c08fdf8464f5be594b00e1a2246 (patch) | |
tree | 4da0974719f9713a86c9186984e630cf9c593429 /client | |
parent | 3d0961ecff8d133875b3b61375f945bbf0d634d4 (diff) | |
download | connman-34c461e0cbd95c08fdf8464f5be594b00e1a2246.tar.gz |
openconnect: Add support for 2nd password
Some servers are configured with multiple authentication groups.
OpenConnect request just authentication entries that are valid
for specific group (process_auth_form method). So, authentication
group have to setup first, and new form have to be requested then.
Some authentication groups may require secondary password.
For example one-time password from Google Authenticator app.
Diffstat (limited to 'client')
-rw-r--r-- | client/agent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/agent.c b/client/agent.c index 1cad3e03..94ace7cd 100644 --- a/client/agent.c +++ b/client/agent.c @@ -100,6 +100,8 @@ static struct agent_input_data vpnagent_input_handler[] = { request_input_string_return }, { "OpenConnect.VPNHost", false, "OpenConnect VPN server? ", request_input_string_return }, + { "OpenConnect.SecondPassword", false, "VPN one-time password? ", + request_input_string_return }, { "Username", false, "VPN username? ", request_input_string_return }, { "Password", false, "VPN password? ", request_input_string_return }, { }, |