Page MenuHomePhabricator

D14065.id46186.diff
No OneTemporary

D14065.id46186.diff

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

Mime Type
text/plain
Expires
Tue, Dec 24, 4:34 AM (19 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2698327
Default Alt Text
D14065.id46186.diff (693 B)

Event Timeline