diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-07-27 11:12:44 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-07-28 11:25:16 +0200 |
| commit | 5616dddc92d76a121d10cbbab5b6404c71ffc25b (patch) | |
| tree | c45c1e6ae79c1702c7285820e8823a9b94b2ebca /app/lib | |
| parent | 98204a12250222cf5adfb51e9db42d8b28794335 (diff) | |
| download | mullvadvpn-5616dddc92d76a121d10cbbab5b6404c71ffc25b.tar.xz mullvadvpn-5616dddc92d76a121d10cbbab5b6404c71ffc25b.zip | |
Add LOGIN_FAILED action
Diffstat (limited to 'app/lib')
| -rw-r--r-- | app/lib/backend.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js index 8ad3c2fe32..a58a12a0cd 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -175,10 +175,7 @@ export class Backend { // TODO: This is not true. If there is a communication link failure the promise will be rejected too const err = new BackendError('INVALID_ACCOUNT'); - this._store.dispatch(accountActions.loginChange({ - status: 'failed', - error: err, - })); + this._store.dispatch(accountActions.loginFailed(err)); }); } |
