From 4c6d33e48eacaeae986d34141ad32e8fcbf958d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Mon, 9 Dec 2019 16:43:30 +0100 Subject: [PATCH] type the CredentialKind values Co-Authored-By: Amine --- bridge/core/auth/credential.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge/core/auth/credential.go b/bridge/core/auth/credential.go index 7aad755296e7831cdd453189794f5d02c2696c7a..9504fd706dfc0ab0813016aca14b720391ccaec1 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")