Skip to content

Commit

Permalink
Updates auth response credential lookup to string key
Browse files Browse the repository at this point in the history
  • Loading branch information
jnormore committed Oct 12, 2012
1 parent fea1754 commit b6bae4c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -9,7 +9,7 @@ def create

def show
if response = request.env['omniauth.auth']
sess = ShopifyAPI::Session.new(params[:shop], response[:credentials][:token])
sess = ShopifyAPI::Session.new(params[:shop], response['credentials']['token'])
session[:shopify] = sess
flash[:notice] = "Logged in"
redirect_to return_address
Expand Down

0 comments on commit b6bae4c

Please sign in to comment.