Skip to content

Commit

Permalink
fix: CSP_FRAME_SRC was getting re-assigned instead of being added to
Browse files Browse the repository at this point in the history
it made sense to re-assign it when the default value was 'none', but
now we will always have at least *.littlepay.com
  • Loading branch information
angela-tran committed Oct 9, 2024
1 parent 889e4d8 commit 4905621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benefits/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def RUNTIME_ENVIRONMENT():
if RECAPTCHA_ENABLED:
env_frame_src.append("https://www.google.com")
if len(env_frame_src) > 0:
CSP_FRAME_SRC = env_frame_src
CSP_FRAME_SRC.extend(env_frame_src)

CSP_IMG_SRC = [
"'self'",
Expand Down

0 comments on commit 4905621

Please sign in to comment.