aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-12-09 16:43:30 +0100
committerGitHub <noreply@github.com>2019-12-09 16:43:30 +0100
commit4c6d33e48eacaeae986d34141ad32e8fcbf958d6 (patch)
treebfcc1552efeeeba529588f9407b0a7b2944bdb87
parentb92adfcb5f79f2b32c3dafb0fc3e7f1b753b6197 (diff)
downloadgit-bug-4c6d33e48eacaeae986d34141ad32e8fcbf958d6.tar.gz
type the CredentialKind values
Co-Authored-By: Amine <hilalyamine@gmail.com>
-rw-r--r--bridge/core/auth/credential.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/core/auth/credential.go b/bridge/core/auth/credential.go
index 7aad7552..9504fd70 100644
--- a/bridge/core/auth/credential.go
+++ b/bridge/core/auth/credential.go
@@ -22,8 +22,8 @@ const (
type CredentialKind string
const (
- KindToken = "token"
- KindLoginPassword = "login-password"
+ KindToken CredentialKind = "token"
+ KindLoginPassword CredentialKind = "login-password"
)
var ErrCredentialNotExist = errors.New("credential doesn't exist")