Minor edit (comment).
This commit is contained in:
parent
9f45f93949
commit
64bc7ac619
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do
|
||||||
}) do
|
}) do
|
||||||
app = Repo.preload(auth, :app).app
|
app = Repo.preload(auth, :app).app
|
||||||
|
|
||||||
# An extra safety measure before we redirect (the same check is being performed in `do_create_authorization/2`)
|
# An extra safety measure before we redirect (also done in `do_create_authorization/2`)
|
||||||
if redirect_uri in String.split(app.redirect_uris) do
|
if redirect_uri in String.split(app.redirect_uris) do
|
||||||
redirect_uri = redirect_uri(conn, redirect_uri)
|
redirect_uri = redirect_uri(conn, redirect_uri)
|
||||||
url_params = %{code: auth.token}
|
url_params = %{code: auth.token}
|
||||||
|
|
Loading…
Reference in a new issue