From e7141336bc952e35c45ec13831fc571bfc355297 Mon Sep 17 00:00:00 2001 From: Bobby Rullo Date: Mon, 18 Apr 2016 16:52:40 -0700 Subject: [PATCH] db: Client() should not return the secret It's never used by downstream code, and besides, it's not really the secret but a Hash of the secret. --- db/client.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db/client.go b/db/client.go index 48960317..84496b4b 100644 --- a/db/client.go +++ b/db/client.go @@ -78,8 +78,7 @@ type clientModel struct { func (m *clientModel) Client() (*client.Client, error) { ci := client.Client{ Credentials: oidc.ClientCredentials{ - ID: m.ID, - Secret: string(m.Secret), + ID: m.ID, }, Admin: m.DexAdmin, }