Skip to content

Commit 68f1708

Browse files
committed
Fix the logic to avoid false positive
1 parent ca1e326 commit 68f1708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/extensions/authenticationHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,6 @@ export class AuthenticationHelper {
184184
*/
185185
protected isThirdPartyCookiesEnabled(userInfo: UserInfoData): boolean {
186186
// Note that we are returning true by default to ensure the N-1 scenario.
187-
return userInfo.cookieInRequest ? userInfo.cookieInRequest : true;
187+
return userInfo.cookieInRequest !== undefined ? userInfo.cookieInRequest : true;
188188
}
189189
}

0 commit comments

Comments
 (0)