Skip to content

Commit

Permalink
fix: another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
livio-a committed Feb 28, 2020
1 parent df432c8 commit 4cf6c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/oidc/code_challenge.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type CodeChallenge struct {
}

func NewSHACodeChallenge(code string) string {
return utils.HashString(sha256.New(), code.false)
return utils.HashString(sha256.New(), code, false)
}

func VerifyCodeChallenge(c *CodeChallenge, codeVerifier string) bool {
Expand Down

0 comments on commit 4cf6c6d

Please sign in to comment.