Skip to content

Commit

Permalink
Fix missing line.
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelien-semence committed May 4, 2022
1 parent b369a2d commit fa861a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func (s *Server) ValidationTokenRequest(r *http.Request) (oauth2.GrantType, *oau
return "", nil, errors.ErrInvalidRequest
}

userID, err := s.PasswordAuthorizationHandler(r.Context(), username, password, clientID)
userID, err := s.PasswordAuthorizationHandler(r.Context(), clientID, username, password)
if err != nil {
return "", nil, err
} else if userID == "" {
Expand Down

0 comments on commit fa861a7

Please sign in to comment.