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