diff --git a/lib/reducers/policies-reducer.js b/lib/reducers/policies-reducer.js --- a/lib/reducers/policies-reducer.js +++ b/lib/reducers/policies-reducer.js @@ -14,6 +14,7 @@ forcePolicyAcknowledgmentActionType, } from '../types/policy-types.js'; import type { BaseAction } from '../types/redux-types.js'; +import { usingCommServicesAccessToken } from '../utils/services-utils.js'; function policiesReducer( state: UserPolicies, @@ -52,7 +53,9 @@ action.type === logOutActionTypes.success || action.type === deleteKeyserverAccountActionTypes.success ) { - return {}; + if (!usingCommServicesAccessToken) { + return {}; + } } return state; }