1
0
Fork 0
forked from mirrors/akkoma

Redirect to Getting Started on login.

This commit is contained in:
eal 2017-11-16 20:47:44 +02:00
parent a743940463
commit 9c60cc88df

View file

@ -579,7 +579,7 @@ def login_post(conn, %{"authorization" => %{ "name" => name, "password" => passw
{:ok, token} <- Token.exchange_token(app, auth) do
conn
|> put_session(:oauth_token, token.token)
|> redirect(to: "/web/timelines/public")
|> redirect(to: "/web/getting-started")
end
end