From: Egor Kislitsyn Date: Fri, 4 Oct 2019 06:30:46 +0000 (+0700) Subject: Fix OAuthController X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d3ac4e8083f254a6a0e329a5807c0973f55402f4;p=akkoma Fix OAuthController --- diff --git a/lib/pleroma/web/oauth/oauth_controller.ex b/lib/pleroma/web/oauth/oauth_controller.ex index e418dc70d..1cd7294e7 100644 --- a/lib/pleroma/web/oauth/oauth_controller.ex +++ b/lib/pleroma/web/oauth/oauth_controller.ex @@ -460,7 +460,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do end # Special case: Local MastodonFE - defp redirect_uri(%Plug.Conn{} = conn, "."), do: mastodon_api_url(conn, :login) + defp redirect_uri(%Plug.Conn{} = conn, "."), do: auth_url(conn, :login) defp redirect_uri(%Plug.Conn{}, redirect_uri), do: redirect_uri