forked from AkkomaGang/akkoma
Redirect to Getting Started on login.
This commit is contained in:
parent
a743940463
commit
9c60cc88df
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ def login_post(conn, %{"authorization" => %{ "name" => name, "password" => passw
|
||||||
{: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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue