fix: use Form instead of PostForm in ClientIDFromRequest (#360)

This commit is contained in:
Livio Spring 2023-04-04 13:45:30 +02:00 committed by GitHub
parent dc2bdc6202
commit c72aa8f9a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}