Skip to content

Commit

Permalink
chore: remove debug log containing secret (#1967)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl authored Aug 28, 2023
1 parent 88d693a commit 75baefd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func validateOAuthSecret(token string) error {
}
secret := split[2]
if secretLen := len(secret); secretLen != 64 {
return fmt.Errorf("length of secret '%s' is %d, which is not equal to 64: %w", secret, secretLen, ErrClientSecretInvalid)
return fmt.Errorf("length of secret is %d, which is not equal to 64: %w", secretLen, ErrClientSecretInvalid)
}
return nil
}
Expand Down

0 comments on commit 75baefd

Please sign in to comment.