Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32509568
D10869.1767108858.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
950 B
Referenced Files
None
Subscribers
None
D10869.1767108858.diff
View Options
diff --git a/web/redux/crypto-store-reducer.js b/web/redux/crypto-store-reducer.js
--- a/web/redux/crypto-store-reducer.js
+++ b/web/redux/crypto-store-reducer.js
@@ -1,9 +1,5 @@
// @flow
-import {
- logOutActionTypes,
- deleteAccountActionTypes,
-} from 'lib/actions/user-actions.js';
import { setNewSessionActionType } from 'lib/keyserver-conn/keyserver-conn-types.js';
import type { CryptoStore } from 'lib/types/crypto-types.js';
import { usingCommServicesAccessToken } from 'lib/utils/services-utils.js';
@@ -15,11 +11,6 @@
function reduceCryptoStore(state: ?CryptoStore, action: Action): ?CryptoStore {
if (action.type === setCryptoStore) {
return action.payload;
- } else if (
- action.type === logOutActionTypes.success ||
- action.type === deleteAccountActionTypes.success
- ) {
- return null;
} else if (
action.type === setNewSessionActionType &&
action.payload.sessionChange.cookieInvalidated &&
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 30, 3:34 PM (8 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5867424
Default Alt Text
D10869.1767108858.diff (950 B)
Attached To
Mode
D10869: [web] Remove logout / delete account / identity login logic from specific reducers
Attached
Detach File
Event Timeline
Log In to Comment