Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未登录情况下点击评论里的like会在webview里面进行登录 #51

Open
lengshuiyulangcn opened this issue Mar 14, 2017 · 0 comments

Comments

@lengshuiyulangcn
Copy link

未登录情况下点击评论里的like会在webview里面进行登录。登录进去的结果是我可以评论发帖点赞,但是由于app端我没登录,没有我的access_token,所以我还是得再登录一次。蛋疼。

https://github.com/ruby-china/homeland/blob/36d9301a1f85edd3f9a4cdda10c700c06b7772a7/app/assets/javascripts/app.coffee#L126

这里直接在页面上跳转了而没通过controller返回401,所以没有弹出app登录的页面。

建议app上直接不render回复和点赞的按钮算了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant