diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-04-13 16:30:46 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-04-14 13:42:17 +0200 |
| commit | b0ff06954bcdc0576869f0001d46a1dc431f68a1 (patch) | |
| tree | 7fb9788776780d07ee518bb1e0a8e9983a12f66c | |
| parent | 1da1df4a6f914b36141f991f7a1791fc5e6dfe9d (diff) | |
| download | mullvadvpn-b0ff06954bcdc0576869f0001d46a1dc431f68a1.tar.xz mullvadvpn-b0ff06954bcdc0576869f0001d46a1dc431f68a1.zip | |
Prevent login input from being emptied on failed attempt
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | gui/src/renderer/redux/account/reducers.ts | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d95841a4a..fb8fc35ee4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ Line wrap the file at 100 chars. Th to the main view. To navigate back to the main view Shift+Escape can be used. - Update Electron from 16.0.4 to 18.0.3. - Randomize bridge selection with a bias in favor of close bridges. +- Make login field keep previous value when submitting an incorrect account number in desktop app. ### Fixed - Fix the sometimes incorrect time added text after adding time to the account. diff --git a/gui/src/renderer/redux/account/reducers.ts b/gui/src/renderer/redux/account/reducers.ts index 00f2ef7bb5..a017d16be7 100644 --- a/gui/src/renderer/redux/account/reducers.ts +++ b/gui/src/renderer/redux/account/reducers.ts @@ -48,7 +48,6 @@ export default function ( return { ...state, status: { type: 'failed', method: 'existing_account', error: action.error }, - accountToken: undefined, }; case 'TOO_MANY_DEVICES': return { |
