mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] Bump oauth2/v4 -> v4.6.6.6-SSB (#1571)
This commit is contained in:
4
vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go
generated
vendored
4
vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go
generated
vendored
@ -313,6 +313,10 @@ func (s *Server) ValidationTokenRequest(r *http.Request) (oauth2.GrantType, *oau
|
||||
return "", nil, errors.ErrUnsupportedGrantType
|
||||
}
|
||||
|
||||
if !s.CheckGrantType(gt) {
|
||||
return "", nil, errors.ErrUnsupportedGrantType
|
||||
}
|
||||
|
||||
clientID, clientSecret, err := s.ClientInfoHandler(r)
|
||||
if err != nil {
|
||||
return "", nil, err
|
||||
|
Reference in New Issue
Block a user