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 1db6b7a + 6d64190 commit 2ea143a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ defmodule RecognizerWeb.Accounts.UserSettingsController 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")
conn
|> put_resp_header(
"Content-Security-Policy",
"default-src 'self'; frame-ancestors 'self' https://bigcommerce.com;"
)
|> render("edit.html")
end
end

Expand Down

0 comments on commit 2ea143a

Please sign in to comment.