Minor edit (comment).
authorIvan Tashkinov <ivant.business@gmail.com>
Tue, 18 Jun 2019 14:15:26 +0000 (17:15 +0300)
committerIvan Tashkinov <ivant.business@gmail.com>
Tue, 18 Jun 2019 14:15:26 +0000 (17:15 +0300)
lib/pleroma/web/oauth/oauth_controller.ex

index 60e5665fd5cd4efe80a55e91692da704a850dd07..3f8e3b0747c927d8510b638005bec0ed2535c373 100644 (file)
@@ -119,7 +119,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do
       }) do
     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
       redirect_uri = redirect_uri(conn, redirect_uri)
       url_params = %{code: auth.token}