forked from AkkomaGang/akkoma
Merge branch 'fix/oauth-controller' into 'develop'
Fix OAuthController Closes #1294 See merge request pleroma/pleroma!1780
This commit is contained in:
commit
bc095a27f1
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ defp do_create_authorization(
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue