projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f640c4
)
Formatting.
author
lain
<lain@soykaf.club>
Tue, 6 Nov 2018 15:05:58 +0000
(16:05 +0100)
committer
lain
<lain@soykaf.club>
Tue, 6 Nov 2018 15:05:58 +0000
(16:05 +0100)
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
index 51a7ec2b24aef3c5b041f364169baaa47e846912..5cb007740bcebc66129584a7db6f32c6f1dca114 100644
(file)
--- 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")