Commit e7141336 authored by Bobby Rullo's avatar Bobby Rullo

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.
parent 158bfa5e
...@@ -79,7 +79,6 @@ func (m *clientModel) Client() (*client.Client, error) { ...@@ -79,7 +79,6 @@ func (m *clientModel) Client() (*client.Client, error) {
ci := client.Client{ ci := client.Client{
Credentials: oidc.ClientCredentials{ Credentials: oidc.ClientCredentials{
ID: m.ID, ID: m.ID,
Secret: string(m.Secret),
}, },
Admin: m.DexAdmin, Admin: m.DexAdmin,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment