mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 22:32:33 +00:00
Pass proxy options payload to credentials callback
This commit is contained in:
parent
fa2dfcf924
commit
1e929eb5e2
@ -1083,7 +1083,7 @@ replay:
|
||||
/* TODO: extract the username from the url, no payload? */
|
||||
if (t->owner->proxy.credentials) {
|
||||
int cred_error = 1;
|
||||
cred_error = t->owner->proxy.credentials(&t->proxy_cred, t->owner->proxy.url, NULL, allowed_types, NULL);
|
||||
cred_error = t->owner->proxy.credentials(&t->proxy_cred, t->owner->proxy.url, NULL, allowed_types, t->owner->proxy.payload);
|
||||
|
||||
if (cred_error < 0)
|
||||
return cred_error;
|
||||
|
Loading…
Reference in New Issue
Block a user