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 => {
372
372
return undefined ;
373
373
} ;
374
374
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
+
375
384
const buildAuxiaGateDisplayData = async (
376
385
contributionsServiceUrl : string ,
377
386
pageId : string ,
@@ -390,7 +399,7 @@ const buildAuxiaGateDisplayData = async (
390
399
391
400
let should_show_legacy_gate_tmp ;
392
401
393
- if ( isAuxiaAudience ) {
402
+ if ( ! decideShouldEnforceLocalLogic ( ) && isAuxiaAudience ) {
394
403
should_show_legacy_gate_tmp = false ;
395
404
// The actual value is irrelevant in this case, but we have the convention to set it to false here
396
405
} else {
You can’t perform that action at this time.
0 commit comments