aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-07-28 12:56:46 +0200
committerMichael Muré <batolettre@gmail.com>2020-09-29 20:42:21 +0200
commit3ecbf8db28105d147340b80d65a5a6d537233135 (patch)
tree9bda351f7d1d520fa0ae51b155792ffca3517a9d /bridge/github
parentb127481364176ac7ecb56c1604e1460251574859 (diff)
downloadgit-bug-3ecbf8db28105d147340b80d65a5a6d537233135.tar.gz
bridge: store credentials in the Keyring instead of the git config
Diffstat (limited to 'bridge/github')
-rw-r--r--bridge/github/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/config.go b/bridge/github/config.go
index 61d641a6..130b0ad1 100644
--- a/bridge/github/config.go
+++ b/bridge/github/config.go
@@ -239,7 +239,7 @@ func randomFingerprint() string {
return string(b)
}
-func promptTokenOptions(repo repository.RepoConfig, login, owner, project string) (auth.Credential, error) {
+func promptTokenOptions(repo repository.RepoKeyring, login, owner, project string) (auth.Credential, error) {
creds, err := auth.List(repo,
auth.WithTarget(target),
auth.WithKind(auth.KindToken),