Page MenuHomePhabricator

D10649.id35657.diff
No OneTemporary

D10649.id35657.diff

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;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 6, 3:53 PM (19 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2431339
Default Alt Text
D10649.id35657.diff (689 B)

Event Timeline