aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bridge/core/auth/credential.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/core/auth/credential.go b/bridge/core/auth/credential.go
index 9504fd70..a462a116 100644
--- a/bridge/core/auth/credential.go
+++ b/bridge/core/auth/credential.go
@@ -102,7 +102,7 @@ func loadFromConfig(rawConfigs map[string]string, id entity.Id) (Credential, err
var cred Credential
- switch configs[configKeyKind] {
+ switch CredentialKind(configs[configKeyKind]) {
case KindToken:
cred = NewTokenFromConfig(configs)
case KindLoginPassword: