Skip to content

Commit 1c83f76

Browse files
committed
fix: do not request for a token of disabled currency
1 parent a246535 commit 1c83f76

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/javascript/_common/auth.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ export const requestSingleSignOn = async () => {
156156
isLoggedInCookie &&
157157
!isCallbackPage &&
158158
!isEndpointPage &&
159-
(!isClientAccountsPopulated ||
160-
(isClientAccountsPopulated && hasMissingToken)) &&
159+
(!isClientAccountsPopulated || hasMissingToken) &&
161160
isAuthEnabled;
162161

163162
if (shouldRequestSignOn) {

0 commit comments

Comments
 (0)