diff options
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/account.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/account.ts b/src/client/account.ts index 102269a0dc..2b860b3ddf 100644 --- a/src/client/account.ts +++ b/src/client/account.ts @@ -47,7 +47,7 @@ function fetchAccount(token): Promise<Account> { }) .then(res => { // When failed to authenticate user - if (res.status !== 200 && res.status < 500) { + if (res.status >= 400 && res.status < 500) { return signout(); } |