From 0cebe1e57e7e4b03aef77cd11bd4fc683c32afc6 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 23 Feb 2020 14:05:03 +0100 Subject: bridge: record the login used during the configure and use it as default credential fix #338 --- bridge/github/github.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bridge/github/github.go') diff --git a/bridge/github/github.go b/bridge/github/github.go index 3a99cec7..1e85eb9a 100644 --- a/bridge/github/github.go +++ b/bridge/github/github.go @@ -19,8 +19,9 @@ const ( metaKeyGithubUrl = "github-url" metaKeyGithubLogin = "github-login" - confKeyOwner = "owner" - confKeyProject = "project" + confKeyOwner = "owner" + confKeyProject = "project" + confKeyDefaultLogin = "default-login" githubV3Url = "https://api.github.com" defaultTimeout = 60 * time.Second -- cgit