File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -372,6 +372,15 @@ const decideShowDefaultGate = (): ShowGateValues => {
372372 return undefined ;
373373} ;
374374
375+ const decideShouldEnforceLocalLogic = ( ) : boolean => {
376+ // July 31st
377+ // SignIn gate behavior investigation
378+
379+ const params = new URLSearchParams ( window . location . search ) ;
380+ const value : string | null = params . get ( 'localgatelogic' ) ;
381+ return value === 'true' ;
382+ } ;
383+
375384const buildAuxiaGateDisplayData = async (
376385 contributionsServiceUrl : string ,
377386 pageId : string ,
@@ -390,7 +399,7 @@ const buildAuxiaGateDisplayData = async (
390399
391400 let should_show_legacy_gate_tmp ;
392401
393- if ( isAuxiaAudience ) {
402+ if ( ! decideShouldEnforceLocalLogic ( ) && isAuxiaAudience ) {
394403 should_show_legacy_gate_tmp = false ;
395404 // The actual value is irrelevant in this case, but we have the convention to set it to false here
396405 } else {
You can’t perform that action at this time.
0 commit comments