Skip to content

Commit

Permalink
Use correct parameter for redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
macifell committed Dec 5, 2023
1 parent 863f05c commit 9d2fa27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recognizer_web/authentication.ex
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ defmodule RecognizerWeb.Authentication do
def logout_redirect(conn) do
cond do
get_session(conn, :bc) ->
BigCommerce.logout_redirect_uri()
[external: BigCommerce.logout_redirect_uri()]

Map.has_key?(conn.query_params, "redirect_uri") ->
[external: conn.query_params["redirect_uri"]]
Expand Down

0 comments on commit 9d2fa27

Please sign in to comment.