fix: use Form instead of PostForm in ClientIDFromRequest (#360)
This commit is contained in:
parent
dc2bdc6202
commit
c72aa8f9a1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue