mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Pass onAuth into the git constructor instead of to push method
This commit is contained in:
6 files changed
+19
-37
No files matched your search
@@ -64,15 +64,6 @@ export function ConfigureRepoStep({
|
||||
dir,
|
||||
remote: 'origin',
|
||||
ref: gitStatus?.currentBranch || 'main',
|
||||
onAuth: () => {
|
||||
if (selectedProvider.credential) {
|
||||
return {
|
||||
username: selectedProvider.credential.username,
|
||||
password: selectedProvider.credential.password,
|
||||
};
|
||||
}
|
||||
return undefined;
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user