Skip to content

Commit

Permalink
fixed theme redirect_uri unmatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
saberma committed Aug 9, 2012
1 parent d4e9944 commit 4c4880b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/theme/themes_controller.rb
Expand Up @@ -87,7 +87,7 @@ def authenticate # 跳转至用户商店的认证登录页面oauth
redirect_to theme_store_url_with_port and return
end
redirect_to client.auth_code.authorize_url(
redirect_uri: "#{theme_store_url_with_port}/callback"
redirect_uri: Theme.client_redirect_uri
)
end

Expand Down

0 comments on commit 4c4880b

Please sign in to comment.