diff --git a/app/utils/ApiClient.js b/app/utils/ApiClient.js index 4681d854..d717cd52 100644 --- a/app/utils/ApiClient.js +++ b/app/utils/ApiClient.js @@ -154,6 +154,10 @@ class ApiClient { } if (response.status === 403) { + if (error.error === "user_suspended") { + stores.auth.logout(); + return; + } throw new AuthorizationError(error.message); }