summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2022-04-13 16:30:46 +0200
committerOskar Nyberg <oskar@mullvad.net>2022-04-14 13:42:17 +0200
commitb0ff06954bcdc0576869f0001d46a1dc431f68a1 (patch)
tree7fb9788776780d07ee518bb1e0a8e9983a12f66c
parent1da1df4a6f914b36141f991f7a1791fc5e6dfe9d (diff)
downloadmullvadvpn-b0ff06954bcdc0576869f0001d46a1dc431f68a1.tar.xz
mullvadvpn-b0ff06954bcdc0576869f0001d46a1dc431f68a1.zip
Prevent login input from being emptied on failed attempt
-rw-r--r--CHANGELOG.md1
-rw-r--r--gui/src/renderer/redux/account/reducers.ts1
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 {