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.
This commit is contained in:
parent
158bfa5ed7
commit
e7141336bc
1 changed files with 1 additions and 2 deletions
|
@ -79,7 +79,6 @@ func (m *clientModel) Client() (*client.Client, error) {
|
|||
ci := client.Client{
|
||||
Credentials: oidc.ClientCredentials{
|
||||
ID: m.ID,
|
||||
Secret: string(m.Secret),
|
||||
},
|
||||
Admin: m.DexAdmin,
|
||||
}
|
||||
|
|
Reference in a new issue