]> cat aescling's git repositories - mastodon.git/commit
Do not store last visited URL from API controllers (#1330)
authorEugen <eugen@zeonfederated.com>
Sun, 9 Apr 2017 20:21:52 +0000 (22:21 +0200)
committerGitHub <noreply@github.com>
Sun, 9 Apr 2017 20:21:52 +0000 (22:21 +0200)
commit93db265be7b648fe095d5a92b76c5c7077c72ac2
tree4b01e34d7b54280e4920ec71a5e08bd04e675f44
parentc1729197458588a25e8f884db22360780e43d5c7
Do not store last visited URL from API controllers (#1330)

Sign-in redirects you back to last visited URL, but in case of API requests,
this sometimes redirected users to an API URL that, of course, greeted them
with an {"error":"The access token is invalid"}
app/controllers/api_controller.rb