mirror of
https://github.com/portainer/portainer.git
synced 2025-07-26 00:39:41 +02:00
parent
b98c71f1ab
commit
b3e72ecaa0
1 changed files with 0 additions and 7 deletions
|
@ -9,13 +9,6 @@ export function getAuthentication(
|
||||||
| 'RepositoryGitCredentialID'
|
| 'RepositoryGitCredentialID'
|
||||||
>
|
>
|
||||||
) {
|
) {
|
||||||
if (model.RepositoryAuthentication) {
|
|
||||||
return {
|
|
||||||
username: model.RepositoryUsername,
|
|
||||||
password: model.RepositoryPassword,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
if (model.RepositoryGitCredentialID) {
|
if (model.RepositoryGitCredentialID) {
|
||||||
return { gitCredentialId: model.RepositoryGitCredentialID };
|
return { gitCredentialId: model.RepositoryGitCredentialID };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue