Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3396886
D11437.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
946 B
Referenced Files
None
Subscribers
None
D11437.diff
View Options
diff --git a/lib/reducers/keyserver-reducer.js b/lib/reducers/keyserver-reducer.js
--- a/lib/reducers/keyserver-reducer.js
+++ b/lib/reducers/keyserver-reducer.js
@@ -15,6 +15,8 @@
} from '../actions/keyserver-actions.js';
import { siweAuthActionTypes } from '../actions/siwe-actions.js';
import {
+ identityLogInActionTypes,
+ identityRegisterActionTypes,
keyserverAuthActionTypes,
logOutActionTypes,
deleteKeyserverAccountActionTypes,
@@ -436,7 +438,10 @@
};
} else if (
action.type === logOutActionTypes.success ||
- action.type === deleteAccountActionTypes.success
+ action.type === deleteAccountActionTypes.success ||
+ action.type === identityRegisterActionTypes.success ||
+ (action.type === identityLogInActionTypes.success &&
+ action.payload.userID !== action.payload.preRequestUserState?.id)
) {
// We want to remove all keyservers but Ashoat's keyserver
const oldConnection =
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 2, 3:05 PM (17 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2607927
Default Alt Text
D11437.diff (946 B)
Attached To
Mode
D11437: [lib] Wipe keyserver store on login
Attached
Detach File
Event Timeline
Log In to Comment