From 6adeab49f6c6832e0042e4ea7df1a4fa69f7f306 Mon Sep 17 00:00:00 2001 From: Adrienne Rio Date: Mon, 9 Dec 2024 17:28:21 +0800 Subject: [PATCH] chore: debug --- src/javascript/_common/auth.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/javascript/_common/auth.js b/src/javascript/_common/auth.js index 6f706ebc134..40b6455384d 100644 --- a/src/javascript/_common/auth.js +++ b/src/javascript/_common/auth.js @@ -93,7 +93,8 @@ export const requestSingleLogout = async (onWSLogoutAndRedirect) => { const isEndpointPage = window.location.pathname.includes('endpoint'); const logoutHandler = getLogoutHandler(onWSLogoutAndRedirect); - + // eslint-disable-next-line + console.log('are we logging out', isLoggedOutCookie, isClientAccountsPopulated, isAuthEnabled, isCallbackPage, isEndpointPage); if (isLoggedOutCookie && isClientAccountsPopulated && isAuthEnabled && !isCallbackPage && !isEndpointPage) { await logoutHandler(onWSLogoutAndRedirect); }