Skip to content

Commit

Permalink
Merge branch 'ah/bc-user-settings' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-s76 committed Feb 13, 2024
2 parents f939d6d + ed9814c commit 1db6b7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule RecognizerWeb.Accounts.UserSettingsController do
plug :assign_email_and_password_changesets

def edit(conn, _params) do
if Application.get_env(:recognizer, :redirect_url) do
if Application.get_env(:recognizer, :redirect_url) && !get_session(conn, :bc) do
redirect(conn, external: Application.get_env(:recognizer, :redirect_url))
else
render(conn, "edit.html")
Expand Down

0 comments on commit 1db6b7a

Please sign in to comment.