Skip to content

Commit

Permalink
missed this changed parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
pelle committed Aug 29, 2010
1 parent ee9f6b8 commit 09d5d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth/controllers/provider_controller.rb
Expand Up @@ -34,7 +34,7 @@ def access_token
def token
@client_application = ClientApplication.find_by_key params[:client_id]
if @client_application.secret != params[:client_secret]
oauth2_error "invalid_client_credentials"
oauth2_error "invalid_client"
return
end
if ["authorization_code","password","none"].include?(params[:grant_type])
Expand Down

0 comments on commit 09d5d47

Please sign in to comment.