summaryrefslogtreecommitdiffhomepage
path: root/app/lib/backend.js
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-08-23 13:34:14 +0200
committerErik Larkö <erik@mullvad.net>2017-08-23 13:34:14 +0200
commitfb1f92d111cd752a6b9edafc8dff58d5b8a59042 (patch)
tree33bfda12fe7954ba86ba72d9e49ceeafccc999f1 /app/lib/backend.js
parentda4f2903b14dbd09b088e44d6acf58d91d3df990 (diff)
parent87179385e5ecba924bef4eef749631c7816aaeca (diff)
downloadmullvadvpn-fb1f92d111cd752a6b9edafc8dff58d5b8a59042.tar.xz
mullvadvpn-fb1f92d111cd752a6b9edafc8dff58d5b8a59042.zip
Merge branch 'autologin-ux-fix'
Diffstat (limited to 'app/lib/backend.js')
-rw-r--r--app/lib/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index 2d39d4b7cd..6d5c4ebd14 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -204,7 +204,7 @@ export class Backend {
.catch( e => {
log.warn('Unable to autologin', e);
- this._store.dispatch(accountActions.loginFailed(new BackendError('INVALID_ACCOUNT')));
+ this._store.dispatch(accountActions.autoLoginFailed());
this._store.dispatch(push('/'));
});
}