fix: another typo
This commit is contained in:
parent
df432c8806
commit
4cf6c6d5f0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ type CodeChallenge struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewSHACodeChallenge(code string) string {
|
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 {
|
func VerifyCodeChallenge(c *CodeChallenge, codeVerifier string) bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue