aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-11-06 16:05:58 +0100
committerlain <lain@soykaf.club>2018-11-06 16:05:58 +0100
commita8f1e30cb81fe17866e3ee33f5b3558dd5b33764 (patch)
treedecffaf811d28c0e6a6faffe7ca9438909b196da /lib
parent4f640c43edc237f4450cc0d42896b5e0a7b4a324 (diff)
downloadpleroma-a8f1e30cb81fe17866e3ee33f5b3558dd5b33764.tar.gz
Formatting.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/mastodon_api_controller.ex1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
index 51a7ec2b2..5cb007740 100644
--- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
+++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
@@ -989,7 +989,6 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController 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")