Skip to content

Commit

Permalink
remove reference to access_token.secret as oauth2 doesn't have a secret.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelle committed Mar 23, 2011
1 parent f6cfedc commit e56f2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth/models/consumers/token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def find_or_create_from_access_token(user,access_token)
end

if token.new_record?
token.secret = access_token.secret
token.secret = secret
token.save
end

Expand Down

0 comments on commit e56f2bf

Please sign in to comment.