Merge pull request #4 from jamescallmebrent/fix-credentials
fix Credentials (oauth_token, oauth_token_secret)
This commit is contained in:
commit
c8b30df384
@ -60,9 +60,9 @@ defmodule Ueberauth.Strategy.Twitter do
|
||||
Includes the credentials from the twitter response.
|
||||
"""
|
||||
def credentials(conn) do
|
||||
{token, _secret} = get_session(conn, :twitter_token)
|
||||
{token, secret} = conn.private.twitter_token
|
||||
|
||||
%Credentials{token: token}
|
||||
%Credentials{token: token, secret: secret}
|
||||
end
|
||||
|
||||
@doc """
|
||||
|
Loading…
Reference in New Issue
Block a user