summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-05-16 14:26:47 +0200
committerAndrej Mihajlov <and@mullvad.net>2019-05-16 14:26:47 +0200
commit858b44484c9cc12c364191fb89d4ec6146c8d720 (patch)
tree7c165c4e4d0e67383fa75fca3888729abb88a9b7 /gui
parentb6bc4e7748cf32cba8761cc2eff4f31fdfa6eb04 (diff)
parente245295007a932e14f744932ff06dcc14c977571 (diff)
downloadmullvadvpn-858b44484c9cc12c364191fb89d4ec6146c8d720.tar.xz
mullvadvpn-858b44484c9cc12c364191fb89d4ec6146c8d720.zip
Merge branch 'fix-account-token-verification'
Diffstat (limited to 'gui')
-rw-r--r--gui/src/renderer/app.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx
index fba3733e94..d98c7d23e9 100644
--- a/gui/src/renderer/app.tsx
+++ b/gui/src/renderer/app.tsx
@@ -243,7 +243,7 @@ export default class AppRenderer {
this.accountDataCache.fetch(accountToken, {
onFinish: () => resolve({ status: 'verified' }),
onError: (error): AccountFetchRetryAction => {
- if (error instanceof InvalidAccountError) {
+ if (error.message === new InvalidAccountError().message) {
reject(error);
return AccountFetchRetryAction.stop;
} else {