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