Removed
Link Here
|
1 |
--- stoken.c.orig 2021-07-01 20:58:46 UTC |
2 |
+++ stoken.c |
3 |
@@ -100,6 +100,7 @@ static int decrypt_stoken(struct openconnect_info *vpn |
4 |
|
5 |
form.opts = opts; |
6 |
form.message = _("Enter credentials to unlock software token."); |
7 |
+ form.auth_id = "_rsa_unlock"; |
8 |
|
9 |
if (stoken_devid_required(vpninfo->stoken_ctx)) { |
10 |
opt->type = OC_FORM_OPT_TEXT; |
11 |
@@ -206,9 +207,10 @@ static int request_stoken_pin(struct openconnect_info |
12 |
|
13 |
form.opts = opts; |
14 |
form.message = _("Enter software token PIN."); |
15 |
+ form.auth_id = "_rsa_pin"; |
16 |
|
17 |
opt->type = OC_FORM_OPT_PASSWORD; |
18 |
- opt->name = (char *)"password"; |
19 |
+ opt->name = (char *)"pin"; |
20 |
opt->label = _("PIN:"); |
21 |
opt->flags = OC_FORM_OPT_NUMERIC; |
22 |
|