Skip to content

Commit

Permalink
fix: use Form instead of PostForm in ClientIDFromRequest (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
livio-a authored Apr 4, 2023
1 parent dc2bdc6 commit c72aa8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/op/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func ClientIDFromRequest(r *http.Request, p ClientProvider) (clientID string, au
}

data := new(clientData)
if err = p.Decoder().Decode(data, r.PostForm); err != nil {
if err = p.Decoder().Decode(data, r.Form); err != nil {
return "", false, err
}

Expand Down

0 comments on commit c72aa8f

Please sign in to comment.