Formatting.
This commit is contained in:
parent
4f640c43ed
commit
a8f1e30cb8
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue