Fix code mistake in OAuth controller
authorSean King <seanking2919@protonmail.com>
Fri, 4 Jun 2021 20:50:16 +0000 (14:50 -0600)
committerSean King <seanking2919@protonmail.com>
Fri, 4 Jun 2021 20:50:16 +0000 (14:50 -0600)
lib/pleroma/web/o_auth/o_auth_controller.ex

index 73d48549710fcf014e50cfc9008ef2738fa453fd..30c2ad825d80732fce27f17ff5542677f4b1d45d 100644 (file)
@@ -599,13 +599,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do
       {:ok, token}
     end
   end
-
-<<<<<<< HEAD
-=======
-  # Special case: Local MastodonFE
-  defp redirect_uri(%Plug.Conn{} = conn, "."), do: Routes.auth_url(conn, :login)
-
->>>>>>> 0c56f9de0d607b88fd107e0bd13ef286f0629346
+  
   defp redirect_uri(%Plug.Conn{}, redirect_uri), do: redirect_uri
 
   defp get_session_registration_id(%Plug.Conn{} = conn), do: get_session(conn, :registration_id)