Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3744016
D14065.id46186.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
693 B
Referenced Files
None
Subscribers
None
D14065.id46186.diff
View Options
diff --git a/lib/reducers/backup-reducer.js b/lib/reducers/backup-reducer.js
--- a/lib/reducers/backup-reducer.js
+++ b/lib/reducers/backup-reducer.js
@@ -1,6 +1,7 @@
// @flow
import { createUserKeysBackupActionTypes } from '../actions/backup-actions.js';
+import { changeIdentityUserPasswordActionTypes } from '../actions/user-actions.js';
import type { BackupStore } from '../types/backup-types.js';
import type { BaseAction } from '../types/redux-types.js';
@@ -13,6 +14,10 @@
return {
latestBackupInfo,
};
+ } else if (action.type === changeIdentityUserPasswordActionTypes.success) {
+ return {
+ latestBackupInfo: null,
+ };
}
return store;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 2:56 PM (11 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2851492
Default Alt Text
D14065.id46186.diff (693 B)
Attached To
Mode
D14065: [native] regenerate backup on every password change
Attached
Detach File
Event Timeline
Log In to Comment