diff --git a/main.c b/main.c index 379cf5de..d2e21c07 100644 --- a/main.c +++ b/main.c @@ -1999,8 +1999,7 @@ static int process_auth_form_cb(void *_vpninfo, empty = 0; } else if (opt->type == OC_FORM_OPT_PASSWORD) { - if (password && - !strncmp(opt->name, "pass", 4)) { + if (password) { opt->_value = password; password = NULL; } else {