megabytes

This commit is contained in:
Dave Grijalva 2012-07-07 12:40:24 -07:00
parent 71677efc53
commit 51b517e77a
1 changed files with 1 additions and 1 deletions

2
jwt.go
View File

@ -150,7 +150,7 @@ func ParseFromRequest(req *http.Request, keyFunc Keyfunc) (token *Token, err err
} }
// Look for "access_token" parameter // Look for "access_token" parameter
req.ParseMultipartForm(10e9) req.ParseMultipartForm(10e6)
if tokStr := req.Form.Get("access_token"); tokStr != "" { if tokStr := req.Form.Get("access_token"); tokStr != "" {
return Parse(tokStr, keyFunc) return Parse(tokStr, keyFunc)
} }