Formatting.

This commit is contained in:
lain 2018-11-06 16:05:58 +01:00
parent 4f640c43ed
commit a8f1e30cb8

View File

@ -989,7 +989,6 @@ def login(conn, %{"code" => code}) do
with {:ok, app} <- get_or_make_app(),
%Authorization{} = auth <- Repo.get_by(Authorization, token: code, app_id: app.id),
{:ok, token} <- Token.exchange_token(app, auth) do
conn
|> put_session(:oauth_token, token.token)
|> redirect(to: "/web/getting-started")