fix: use Form instead of PostForm in ClientIDFromRequest

This commit is contained in:
Livio Spring 2023-04-04 13:43:31 +02:00
parent dc2bdc6202
commit 30cb77eaeb
No known key found for this signature in database
GPG key ID: 26BB1C2FA5952CF0

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
}