diff options
Diffstat (limited to 'credential.c')
-rw-r--r-- | credential.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/credential.c b/credential.c index a600d0c1ac..7da326aa85 100644 --- a/credential.c +++ b/credential.c @@ -239,6 +239,8 @@ int credential_read(struct credential *c, FILE *fp) } else if (!strcmp(key, "path")) { free(c->path); c->path = xstrdup(value); + } else if (!strcmp(key, "wwwauth[]")) { + strvec_push(&c->wwwauth_headers, value); } else if (!strcmp(key, "password_expiry_utc")) { errno = 0; c->password_expiry_utc = parse_timestamp(value, NULL, 10); |