diff --git a/src/app/core/login-interstitials/login-interstitials.service.ts b/src/app/core/login-interstitials/login-interstitials.service.ts index 32cbe164b..ce564e6ef 100644 --- a/src/app/core/login-interstitials/login-interstitials.service.ts +++ b/src/app/core/login-interstitials/login-interstitials.service.ts @@ -27,7 +27,7 @@ export class LoginInterstitialsService { this.interstitialService .getInterstitialsViewed('DOMAIN_INTERSTITIAL') .subscribe((viewed) => { - // this.alreadySawSignDomainInterstitial = viewed + this.alreadySawSignDomainInterstitial = viewed }) this.toggleService .getStateOf('LOGIN_DOMAINS_INTERSTITIAL') @@ -48,10 +48,10 @@ export class LoginInterstitialsService { userRecord.userInfo.EFFECTIVE_USER_ORCID if ( - // isNotImpersonating && - // !this.userHasPublicDomains(userRecord.emails) && - // this.userHasPrivateDomains(userRecord.emails) && - // this.loginDomainsInterstitialEnabled && + isNotImpersonating && + !this.userHasPublicDomains(userRecord.emails) && + this.userHasPrivateDomains(userRecord.emails) && + this.loginDomainsInterstitialEnabled && !this.alreadySawSignDomainInterstitial ) { this.alreadySawSignDomainInterstitial = true