Merge branch 'fix/mastofe-login-redirect' into 'develop'

Redirect to Getting Started on login.

See merge request pleroma/pleroma!21
This commit is contained in:
eal 2017-11-18 14:38:05 +00:00
commit 146ec80285

View File

@ -579,7 +579,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
{:ok, token} <- Token.exchange_token(app, auth) do {:ok, token} <- Token.exchange_token(app, auth) do
conn conn
|> put_session(:oauth_token, token.token) |> put_session(:oauth_token, token.token)
|> redirect(to: "/web/timelines/public") |> redirect(to: "/web/getting-started")
end end
end end