From aad7aa17db7c506c493f8f2c0d9fa66678b54577 Mon Sep 17 00:00:00 2001 From: Julia Eskew Date: Thu, 29 Jul 2021 11:20:20 -0400 Subject: [PATCH] fix: Add production Django setting line for the origin-specific token to disable subframe dialog suppression for sites which use ENV_TOKENS for config. --- lms/envs/production.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lms/envs/production.py b/lms/envs/production.py index 6ca1774abe..d4c4b62db1 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -1027,3 +1027,9 @@ COURSE_OLX_VALIDATION_IGNORE_LIST = ENV_TOKENS.get( ################# show account activate cta after register ######################## SHOW_ACCOUNT_ACTIVATION_CTA = ENV_TOKENS.get('SHOW_ACCOUNT_ACTIVATION_CTA', SHOW_ACCOUNT_ACTIVATION_CTA) + +################# Settings for Chrome-specific origin trials ######## +# Token for "Disable Different Origin Subframe Dialog Suppression" Chrome Origin Trial, which must be origin-specific. +CHROME_DISABLE_SUBFRAME_DIALOG_SUPPRESSION_TOKEN = ENV_TOKENS.get( + 'CHROME_DISABLE_SUBFRAME_DIALOG_SUPPRESSION_TOKEN', CHROME_DISABLE_SUBFRAME_DIALOG_SUPPRESSION_TOKEN +)