Skip to content

Commit

Permalink
removed reference to res.uid
Browse files Browse the repository at this point in the history
see issue :  socialcast#41
  • Loading branch information
plancien committed Mar 29, 2017
1 parent f392beb commit f9042b4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def authorize_endpoint(allow_approval = false)
access_token = current_user.access_tokens.create!(:client => @client).token
bearer_token = Rack::OAuth2::AccessToken::Bearer.new(:access_token => access_token)
res.access_token = bearer_token
res.uid = current_user.id
end
res.approve!
else
Expand Down

0 comments on commit f9042b4

Please sign in to comment.