fix Credentials (oauth_token, oauth_token_secret)
This commit is contained in:
parent
277cbe3c84
commit
cc3bf7a0b8
@ -60,9 +60,9 @@ defmodule Ueberauth.Strategy.Twitter do
|
|||||||
Includes the credentials from the twitter response.
|
Includes the credentials from the twitter response.
|
||||||
"""
|
"""
|
||||||
def credentials(conn) do
|
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
|
end
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
|
Loading…
Reference in New Issue
Block a user