mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
Fix code mistake in OAuth controller
This commit is contained in:
parent
dc4814f0cd
commit
839c2c6a12
1 changed files with 1 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue