Clear 'passwordSet*' flags too in USER_PASSWORD_SET_CLEAR

## Issue
4749: "Password updated successfully" kept showing up

## Change
In addition to the `passwordReset*` variables, reset the `passwordSet*` variables as well for `USER_PASSWORD_SET_CLEAR`.
This commit is contained in:
infiinte-persistence 2020-09-15 13:17:19 +08:00 committed by Sean Yesmunt
parent ebdf9c1b11
commit 4fc5a018e5
2 changed files with 3 additions and 0 deletions

View file

@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Floating player: Stay within screen when window is resized _community pr!_([#4750](https://github.com/lbryio/lbry-desktop/pull/4750))
- App crash when including % sign in search _community pr!_([#4753](https://github.com/lbryio/lbry-desktop/pull/4753))
- First comment on claim not showing up immeditately ([#4747](https://github.com/lbryio/lbry-desktop/pull/4747))
- Fix "Password updated successfully" kept showing up _community pr!_([#4766](https://github.com/lbryio/lbry-desktop/pull/4766))
## [0.47.1] - [2020-07-23]

View file

@ -171,6 +171,8 @@ reducers[ACTIONS.USER_PASSWORD_SET_CLEAR] = state =>
passwordResetSuccess: false,
passwordResetPending: false,
passwordResetError: null,
passwordSetPending: false,
passwordSetSuccess: false,
});
reducers[ACTIONS.USER_EMAIL_VERIFY_STARTED] = state =>